connection error bit set to 1

Zhang Chao zchao1995 at
Tue Aug 1 01:48:10 UTC 2017


Is there any network error in your connection? like connection reset by
peer, maybe you can set the error log level as low as possible, then find
the devil in the error.log.

On 31 July 2017 at 22:46:12, Ortal (nginx-forum at wrote:

I am writing a nginx module.
I would like to know it which flow is the error filed of the connection set
to 1, I am running a test which the nginx epoll call
ngx_http_finalize_request with: r->connection->error = 1, this will
terminate my request before I finished with my job.


Posted at Nginx Forum:,275771,275771#msg-275771

nginx mailing list
nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list