summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_write.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-19Avoid a segfault in nxt_conn_io_sendbuf()Andrew Clayton1-0/+7
This is a simple temporary fix (doesn't address the underlying problem) for an issue reported by a user on GitHub whereby downloading of files from a PHP application would cause the router process to crash. This is actually a generic problem that will affect anything sending data via nxt_unit_response_write(). This is just a simple fix for the 1.32 release, after which the full correct fix will be worked out. Link: <https://github.com/nginx/unit/issues/1125> Reported-by: rustedsword <https://github.com/rustedsword> Co-developed-by: rustedsword <https://github.com/rustedsword> Tested-by: rustedsword <https://github.com/rustedsword> Tested-by: Andrew Clayton <a.clayton@nginx.com> Reviewed-by: Zhidao Hong <z.hong@f5.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-09-07Log: fixed typo.Alejandro Colomar1-1/+1
Scripted change: $ grep -ril recevied src/ | xargs sed -i s/recevied/received/ Reported-by: <https://github.com/jeffdafoe> Closes: <https://github.com/nginx/unit/issues/920> Cc: <https://github.com/meezaan> Cc: Timo Stark <t.stark@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2020-08-17Supporting platforms without sendfile() implementation.Max Romanov1-1/+18
This is a quick and dirty sendfile() replacement. This closes #452 PR on GitHub.
2020-08-17Style: changing preprocessor directives.Max Romanov1-5/+11
Using #if directives instead of #ifdef the same way as in other places.
2020-03-12Using disk file to store large request body.Max Romanov1-0/+96
This closes #386 on GitHub.
2019-02-28Fixed timer and event race condition.Igor Sysoev1-2/+3
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.
2018-09-28Fixed bug in socket write error handling.Igor Sysoev1-1/+3
The bug has been introduced in e3972a4a9c73.
2018-09-20Added SSL/TLS support on connection level.Igor Sysoev1-19/+5
2018-09-18Fixed more typos.Valentin Bartenev1-1/+1
Thanks to 洪志道 (Hong Zhi Dao).
2018-07-12Fixed socket write error handling.Igor Sysoev1-10/+17
2018-01-24Fixed formatting in nxt_sprintf() and logging.Sergey Kandaurov1-3/+3
2017-06-14nxt_event_conn_... functions and structures have been renamedIgor Sysoev1-0/+422
to nxt_conn_...