Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ new_default_forward_proxy_handler
Function
new_default_forward_proxy_handler
net/http/server.cpp:402–406 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
400
}
401
402
HTTPHandler* new_default_forward_proxy_handler(uint64_t timeout) {
403
auto c = new_http_client();
404
c->timeout(timeout);
405
return new ForwardProxyHandler(c, true);
406
}
407
408
409
} // namespace http
Callers
1
main
Function · 0.85
Calls
2
new_http_client
Function · 0.85
timeout
Method · 0.45
Tested by
1
main
Function · 0.68