Home
last modified time | relevance | path

Searched hist:167 (Results 1 – 7 of 7) sorted by relevance

/unit/src/
H A Dnxt_socketpair.cdiff 1003:a7122e3c6e06 Tue Mar 05 12:38:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Handling ENOBUFS error same was as EAGAIN.

Unlike EAGAIN, ENOBUFS returned on OSX when trying to send many relatively
small (64 bytes) fragments.

Found during investigation of #167 issue on GitHub.
H A Dnxt_errno.hdiff 1003:a7122e3c6e06 Tue Mar 05 12:38:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Handling ENOBUFS error same was as EAGAIN.

Unlike EAGAIN, ENOBUFS returned on OSX when trying to send many relatively
small (64 bytes) fragments.

Found during investigation of #167 issue on GitHub.
H A Dnxt_conn.hdiff 167:06ebbe0a5c07 Mon Jul 17 21:21:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Request-app link introduced to prevent mp destroy for penging requests.

nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.
H A Dnxt_port_socket.cdiff 1004:306ceaf8927d Tue Mar 05 12:38:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Fixing EAGAIN processing for port message send.

Sending large plain (exceeding port's max_size, not in shared memory) messages
causes message fragmentation. First message fragment is sent successfully,
but the next fragment may fail with the EAGAIN error. In this case, the
message has to be pushed back to queue head for additional processing.

Related to #167 issue on GitHub.
diff 1002:ba4c745528cf Tue Mar 05 12:38:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Including port message header into message size limit.

Before this fix, large plain message (i.e. configuration) send may fail
with the 'Message too big' error, because internal fragmentation
implementation does not account for 16 byte message header.

This closes #167 issue on GitHub.
H A Dnxt_port.cdiff 167:06ebbe0a5c07 Mon Jul 17 21:21:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Request-app link introduced to prevent mp destroy for penging requests.

nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.
H A Dnxt_port.hdiff 167:06ebbe0a5c07 Mon Jul 17 21:21:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Request-app link introduced to prevent mp destroy for penging requests.

nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.
H A Dnxt_router.cdiff 167:06ebbe0a5c07 Mon Jul 17 21:21:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Request-app link introduced to prevent mp destroy for penging requests.

nxt_req_conn_link_t still used for lookup connection by request id.
New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain().
ra stored in app->requests if there is no free worker to process request.