@@ -204,12 +204,12 @@ var _ = Describe("Legacy Options", func() {
204204 URI: "",
205205 Static: ptr.To(true),
206206 StaticCode: &validStaticCode,
207− InsecureSkipTLSVerify: ptr.To(false),
208− PassHostHeader: nil,
209− ProxyWebSockets: nil,
210− FlushInterval: nil,
211− Timeout: nil,
212− DisableKeepAlives: ptr.To(false),
207+ InsecureSkipTLSVerify: ptr.To(DefaultUpsteamInsecureSkipTLSVerify),
208+ PassHostHeader: ptr.To(DefaultStaticPassHostHeader),
209+ ProxyWebSockets: ptr.To(DefaultStaticProxyWebSockets),
210+ FlushInterval: ptr.To(DefaultUpstreamFlushInterval),
211+ Timeout: ptr.To(DefaultUpstreamTimeout),
212+ DisableKeepAlives: ptr.To(DefaultUpstreamDisableKeepAlives),
213213 }
214214
215215 invalidStatic := "static://abc"
@@ -220,12 +220,12 @@ var _ = Describe("Legacy Options", func() {
220220 URI: "",
221221 Static: ptr.To(true),
222222 StaticCode: &invalidStaticCode,
223− InsecureSkipTLSVerify: ptr.To(false),
224− PassHostHeader: nil,
225− ProxyWebSockets: nil,
226− FlushInterval: nil,
227− Timeout: nil,
228− DisableKeepAlives: ptr.To(false),
223+ InsecureSkipTLSVerify: ptr.To(DefaultUpsteamInsecureSkipTLSVerify),
224+ PassHostHeader: ptr.To(DefaultStaticPassHostHeader),
225+ ProxyWebSockets: ptr.To(DefaultStaticProxyWebSockets),
226+ FlushInterval: ptr.To(DefaultUpstreamFlushInterval),
227+ Timeout: ptr.To(DefaultUpstreamTimeout),
228+ DisableKeepAlives: ptr.To(DefaultUpstreamDisableKeepAlives),
229229 }
230230
231231 invalidHTTP := ":foo"