justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.93k stars 618 forks source link

Is there a connection timeout event?? #852

Open sqlnew opened 3 years ago

sqlnew commented 3 years ago

In the proxy server, I set the timeout, such as proxyServer.ConnectionTimeOutSeconds = 30; proxyServer.ConnectTimeOutSeconds = 30;

Is there any connection timeout event in the reverse proxy, so that I can handle other work when the timeout occurs?

If there are no timeout related events, can the author add timeout events in future versions? Thank you.

enkelmedia commented 1 year ago

@sqlnew Did you find any solution to this? I'm looking at this now. I've also set the timeouts but it does not appear to have any effect. The proxy still waits for the upstream connection to come back even when it takes longer than the timeouts.