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.