On Thu, 2009-10-22 at 22:57 -0700, Himanshu Vasishth wrote:
> I am using pound to load balance between apache servers. I have the
> apache servers configured such that they return error 413(file size
> exceeded) if users try to upload files larger than 20MB. If my client
> directly connects to the apache instance, the error 413 is correctly
> returned back to the client. However, when going through pound the
> error is getting converted to error 500. The following statement
> appears in the pound log file.
> (b7c42b90) e500 error copy client cont to xxx.xxx.xxx.xxx:80/POST
> /xxx/xxxxxxxxx HTTP/1.1: Connection reset by peer (30.560 sec)
> Any pointers on how can I make pound send back 413 to client.
Your error shows that the server returned a "wrong" answer (probably
closed the socket before sending the response headers). Could be a
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904