Send 503 if max connections reached

Please post support and help requests here.
zarnce
Posts: 12
Joined: 08 Jan 2013, 22:56

Send 503 if max connections reached

Postby zarnce » 14 Jan 2013, 23:23

I have been searching the web and the forums and have not been able to find an answer. Is there a way to have the Poco network library (HTTPServer ?) send a 503 (HTTP_SERVICE_UNAVAILABLE) to a new connection if we are already processing a set maximum number of connections? I know I can add this in the HTTPRequestHandler but it would be cleaner to have the network library do it.

Thanks
Brian

Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests