Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Events: available bytes calculation via ioctl(FIONREAD). | Maxim Dounin | 2019-10-17 |
| | | | | | | | | | | | | | | | | | | | | | This makes it possible to avoid looping for a long time while working with a fast enough peer when data are added to the socket buffer faster than we are able to read and process them (ticket #1431). This is basically what we already do on FreeBSD with kqueue, where information about the number of bytes in the socket buffer is returned by the kevent() call. With other event methods rev->available is now set to -1 when the socket is ready for reading. Later in ngx_recv() and ngx_recv_chain(), if full buffer is received, real number of bytes in the socket buffer is retrieved using ioctl(FIONREAD). Reading more than this number of bytes ensures that even with edge-triggered event methods the event will be triggered again, so it is safe to stop processing of the socket and switch to other connections. Using ioctl(FIONREAD) only after reading a full buffer is an optimization. With this approach we only call ioctl(FIONREAD) when there are at least two recv()/readv() calls. | ||
* | Copyright updated. | Maxim Konovalov | 2012-01-18 |
| | |||
* | nginx-0.1.25-RELEASE importrelease-0.1.25 | Igor Sysoev | 2005-03-19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *) Bugfix: nginx did run on Linux parisc. *) Feature: nginx now does not start under FreeBSD if the sysctl kern.ipc.somaxconn value is too big. *) Bugfix: if a request was internally redirected by the ngx_http_index_module module to the ngx_http_proxy_module or ngx_http_fastcgi_module modules, then the index file was not closed after request completion. *) Feature: the "proxy_pass" can be used in location with regular expression. *) Feature: the ngx_http_rewrite_filter_module module supports the condition like "if ($HTTP_USER_AGENT ~ MSIE)". *) Bugfix: nginx started too slow if the large number of addresses and text values were used in the "geo" directive. *) Change: a variable name must be declared as "$name" in the "geo" directive. The previous variant without "$" is still supported, but will be removed soon. *) Feature: the "%{VARIABLE}v" logging parameter. *) Feature: the "set $name value" directive. *) Bugfix: gcc 4.0 compatibility. *) Feature: the --with-openssl-opt=OPTIONS autoconfiguration directive. | ||
* | nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright | Igor Sysoev | 2004-09-29 |
| | |||
* | nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files | Igor Sysoev | 2004-09-28 |
| | |||
* | nginx-0.0.1-2003-06-03-19:42:58 import | Igor Sysoev | 2003-06-03 |
| | |||
* | nginx-0.0.1-2003-02-11-10:14:40 import | Igor Sysoev | 2003-02-11 |
| | |||
* | nginx-0.0.1-2003-02-06-20:21:13 import | Igor Sysoev | 2003-02-06 |
| | |||
* | nginx-0.0.1-2002-08-20-18:48:28 import | Igor Sysoev | 2002-08-20 |
| | |||
* | nginx-0.0.1-2002-08-16-19:27:03 import | Igor Sysoev | 2002-08-16 |