Skip to content

Commit 84c36b6

Browse files
authored
Static route reverse proxy always needs_upstream (#1434)
* Static route reverse proxy always needs_upstream * reverse hack done in https://github.com/abhinavsingh/proxy.py/pull/1371/files\#diff-8e4998393b40035040fb8494b321b9538b897ed0f25d35aeeb037a99f623abc3 to make tests work * httpbingo is an issue on github workflows
1 parent a7077cf commit 84c36b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proxy/http/server/reverse.py

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def handle_request(self, request: HttpParser) -> None:
8484
self.choice = Url.from_bytes(
8585
random.choice(route[1]),
8686
)
87+
needs_upstream = True
8788
break
8889
# Dynamic routes
8990
elif isinstance(route, str):

0 commit comments

Comments
 (0)