- 03 Jan, 2017 7 commits
-
-
makovich authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Previously, global accept-proxy-protocol option enables PROXY protocol support for all frontend listeners, but this was inflexible. To fix this issue, accept-proxy-protocol option is now deprecated, and instead proxyproto parameter in frontend option enables PROXY protocol support per frontend.
-
- 02 Jan, 2017 1 commit
-
-
Tatsuhiro Tsujikawa authored
boringssl says: /* It is an error to clear any bits that have already been set. (We can't try * to get a second close_notify or send two.) */ assert((SSL_get_shutdown(ssl) & mode) == SSL_get_shutdown(ssl));
-
- 30 Dec, 2016 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 27 Dec, 2016 4 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 25 Dec, 2016 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Plain write(2) is OK, but SSL_write requires same arguments on retry. It would be better to avoid calling them again.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 24 Dec, 2016 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
nghttpx: Add frontend-keep-alive-timeout option
-
Tatsuhiro Tsujikawa authored
on_read may fail, but we failed to check its return value most of the places. This is because failure means deletion of ClientHandler, but because of architecture, we cannot delete it. Feeding read event is better since we can move call on_read from libev callback. We can delete ClientHandler form there.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Because of bidirectional nature of TCP, we may fail write(2), but have still pending read in TCP buffer, which may contain response body. To forward them, we should keep reading until get EOF from backend. To avoid stalling HTTP/1 upload when request buffer is full, and we have received complete response from backend, drop connection in that case.
-
- 23 Dec, 2016 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 21 Dec, 2016 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 20 Dec, 2016 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
To debug multi threaded configuration easier, we added current PID and thread ID to error log. Previously, we didn't add date and time if log level is NOTICE. In this change, we always write date and time regardless of log level.
-
- 18 Dec, 2016 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 17 Dec, 2016 5 commits
-
-
Tatsuhiro Tsujikawa authored
Use pkg-config to detect libxml2
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 16 Dec, 2016 1 commit
-
-
Tatsuhiro Tsujikawa authored
-