aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_socket.h
Commit message (Collapse)AuthorAge
* QUIC: write and full stream shutdown support.Roman Arutyunyan2021-12-13
| | | | | Full stream shutdown is now called from stream cleanup handler instead of explicitly sending frames.
* Events: available bytes calculation via ioctl(FIONREAD).Maxim Dounin2019-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 Konovalov2012-01-18
|
* nginx-0.3.44-RELEASE importrelease-0.3.44Igor Sysoev2006-05-04
| | | | | | | | | *) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
* nginx-0.1.9-RELEASE importrelease-0.1.9Igor Sysoev2004-11-25
| | | | | | | | | | | | | | | *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
* nginx-0.1.7-RELEASE importrelease-0.1.7Igor Sysoev2004-11-12
| | | | | *) Bugfix: on FreeBSD the segmentation fault may occur if the size of the transferred file was changed; the bug had appeared in 0.1.5.
* nginx-0.1.5-RELEASE importrelease-0.1.5Igor Sysoev2004-11-11
| | | | | | | | | | | | | | | | | | | | | | | | *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
* nginx-0.1.2-RELEASE importrelease-0.1.2Igor Sysoev2004-10-21
| | | | | | | | | | | | | | | | | | | | | | | *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; the bug had appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; the bug had appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
* nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev2004-09-29
|
* nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev2004-09-28
|
* nginx-0.0.1-2003-11-25-23:44:56 importIgor Sysoev2003-11-25
|
* nginx-0.0.1-2003-06-04-21:28:33 importIgor Sysoev2003-06-04
|
* nginx-0.0.1-2003-05-21-17:28:21 importIgor Sysoev2003-05-21
|
* nginx-0.0.1-2003-02-06-20:21:13 importIgor Sysoev2003-02-06
|
* nginx-0.0.1-2003-01-30-21:21:39 importIgor Sysoev2003-01-30
|
* nginx-0.0.1-2002-09-12-18:42:29 importIgor Sysoev2002-09-12
|
* nginx-0.0.1-2002-08-26-19:18:19 importIgor Sysoev2002-08-26
|
* nginx-0.0.1-2002-08-20-18:48:28 importIgor Sysoev2002-08-20
|
* nginx-0.0.1-2002-08-16-19:27:03 importIgor Sysoev2002-08-16