File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
examples/http_auth_random Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,14 @@ services:
2323 - ./target/wasm32-wasi/release:/etc/envoy/proxy-wasm-plugins
2424 networks :
2525 - envoymesh
26+ depends_on :
27+ - httpbin
28+ httpbin :
29+ image : mccutchen/go-httpbin
30+ hostname : httpbin
31+ ports :
32+ - " 8080:8080"
33+ networks :
34+ - envoymesh
2635networks :
2736 envoymesh : {}
Original file line number Diff line number Diff line change @@ -64,6 +64,5 @@ static_resources:
6464 - endpoint :
6565 address :
6666 socket_address :
67- address : httpbin.org
68- port_value : 80
69- hostname : " httpbin.org"
67+ address : httpbin
68+ port_value : 8080
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl HttpContext for HttpAuthRandom {
3535 ] ,
3636 None ,
3737 vec ! [ ] ,
38- Duration :: from_secs ( 5 ) ,
38+ Duration :: from_secs ( 1 ) ,
3939 )
4040 . unwrap ( ) ;
4141 Action :: Pause
You can’t perform that action at this time.
0 commit comments