Monday, 15 April 2013

c - lighttpd : Close its client socket by throwing error "Connection reset by peer" -



c - lighttpd : Close its client socket by throwing error "Connection reset by peer" -

i using lighttpd webserver host website. working fine , able send post , request. lighttpd used cgiclient connect c application, able send , receives info c application based on request.

but when trying receive byte stream of huge size (aroung 2 - 3 gb) c application on lighttpd server socket using keep-alive connection working fine 12 minutes. after 12 minutes lighttpd closes own socket throwing error of "connection reset peer".

so question that, there limitation based on size or time lighttpd closes own socket?

any help or advise? in advance.

"connection reset peer" means client closed connection server had still things write client. not error caused limitation in lighttpd. instead assume processing of huge post took long , client closed connection server after timeout before server send response.

c sockets webserver lighttpd

No comments:

Post a Comment