summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06nxt_h1proto_t definition was moved to h1proto implementation.Igor Sysoev1-0/+20
2019-08-06Refactored HTTP protocol callback table.Igor Sysoev1-46/+14
2019-07-24Added routing based on request scheme.Axel Duch1-17/+4
Scheme matches exact string “http” or “https”.
2019-03-21Adjusting request schema value according to connection tls state.Max Romanov1-0/+17
This closes #223 issue on GitHub.
2019-02-28Fixed timer and event race condition.Igor Sysoev1-0/+4
When idle timeout occurs at the same time as a request comes in, the timer handler closes connection while the read event triggers request processing, and this eventually leads to segmentation fault.
2019-02-26Keepalive mode is disabled on HTTP header parsing errors.Igor Sysoev1-0/+2
2019-02-19Validation and normalization of request host.Valentin Bartenev1-3/+1
2018-10-01Disabled chunked transfer encoding for 304 responses as well.Valentin Bartenev1-1/+1
According to RFC 7232: | A 304 response cannot contain a message-body; it is always terminated | by the first empty line after the header fields.
2018-10-01Allowing keep-alive connections after 204 responses.Valentin Bartenev1-5/+7
This was unintentionally disabled by 7b5026a0bdeb.
2018-09-28Disabled chunked transfer encoding for 204 responses.Igor Sysoev1-1/+2
2018-09-20Added nginx error 497 response.Igor Sysoev1-0/+20
2018-09-20Added SSL/TLS support on connection level.Igor Sysoev1-193/+401
2018-07-30Fixed segfault on listening socket close.Igor Sysoev1-13/+54
Now keep-alive connection sends 408 response if listening socket was closed while reconfiguration.
2018-07-30Sending 408 response on idle connection timeout.Igor Sysoev1-14/+112
2018-07-12Disabling keep-alive connection on errors.Igor Sysoev1-10/+17
2018-07-12Fixed bug in "send_timeout" handling.Igor Sysoev1-1/+1
2018-06-25Introduced nxt_length() macro.Valentin Bartenev1-8/+8
2018-05-30Fixed keep-alive hanging after reconfiguration.Igor Sysoev1-32/+86
2018-04-12Miscellaneous changes.Igor Sysoev1-9/+14
2018-04-12Disabling timer when request header has been entirely read.Igor Sysoev1-2/+8
2018-04-12Fixed idle timeout, broken in b3e55c647741.Igor Sysoev1-1/+1
2018-04-11Initial access log support.Valentin Bartenev1-0/+31
2018-04-11Introducing connection state io_read_handler.Igor Sysoev1-32/+26
2018-04-11Keepalive processing optimization.Igor Sysoev1-46/+9
2018-04-11Fixed pipelined request processing, broken by 9e16499b63f0.Valentin Bartenev1-1/+1
2018-04-10Added "408 Request Timeout" error response.Igor Sysoev1-5/+27
2018-04-10Refactored HTTP header parsing.Igor Sysoev1-40/+54
2018-04-10Splitting HTTP processing in more granulate connection states.Igor Sysoev1-114/+225
2018-04-09Processing of partially parsed HTTP header.Valentin Bartenev1-13/+31
This is useful for log purposes.
2018-04-03HTTP: using r->mem_pool retention counter for response buffers.Igor Sysoev1-8/+48
2018-03-28nxt_port_buf_completion() and nxt_sendbuf_completion().Igor Sysoev1-2/+2
nxt_sendbuf_completion() has been renamed to nxt_port_buf_completion() and moved to src/nxt_port_socket.c. nxt_sendbuf_completion0() has been renamed to nxt_sendbuf_completion().
2018-02-07Fixed reading of the rest of body, again.Valentin Bartenev1-18/+12
The last attempt in ee5f278e8c81 wasn't enough.
2018-01-24Fixed formatting in nxt_sprintf() and logging.Sergey Kandaurov1-1/+1
2018-01-16HTTP: fixed chunked response on 32-bit platforms.Igor Sysoev1-1/+1
2018-01-15Checking for major HTTP version.Valentin Bartenev1-0/+5
2018-01-15Improved HTTP version representation.Valentin Bartenev1-2/+2
2018-01-15HTTP parser: improved error reporting.Valentin Bartenev1-3/+24
2018-01-12Fixed reading of the rest of body, broken after 5817734dd9b9.Valentin Bartenev1-1/+0
2018-01-11HTTP: fixed large header buffers allocation and deallocation.Igor Sysoev1-29/+32
This closes #74 issue on GitHub.
2017-12-29Using correct pointer and size for memzero operation.Igor Sysoev1-2/+1
Found by Coverity (CID 215689).
2017-12-29Corrected allocation size of HTTP response header.Igor Sysoev1-2/+6
2017-12-28Disabled Nagle algorithm for keep-alive connections.Igor Sysoev1-0/+4
2017-12-28HTTP keep-alive connections support.Igor Sysoev1-0/+989