improve webserver shutdown and free some stuff to make the valgrind output cleaner default tip

move first request poll to the event handler

add request timeout handler

fix pg ext uninitialized memory acces - fixes #420

add test for sending multiple events to an eventhandler

add first eventhandler tests

add more test_io_http_stream_parse_chunk_header_invalid tests

fix http_stream_parse_chunk_header: check if the chunk starts with a digit

fix strtoll result check

add functions to stop event handlers

increase keep-alive timeout

new linux event_send implementation, replace event pipes with eventfd

fix memory leak in case handle_request fails (some illegal requests)

implement keep-alive timeout

refactore keep alive handler

refactore EventHandler: add common fields to base struct

fix netbuf_getbytes prematurely returns NETBUF_EOF

fix net_ssl_writev skipping bytes

replace EWOULDBLOCK with EAGAIN

add extra nullptr check in the event loop to handle the case when the finish ptr is set to NULL after it was already scheduled

fix cgi_writeevent not returning immediately when cgi IO is already done

add more debug logging to cgi_stdout_readevent

add more cgi logging

simplify ev_handle_events on linux

stop cgi read-event processing if an error occured

change nsapi_function_return behavior: move saf return to the end of the event cycle

handle eof in cgi_stdout_readevent to fix potential double free in cgi_event_finish

change execution order of event handler and event finish functions

use sigterm to kill cgi scripts

test cgi kill

handle killpg error

use SIGKILL instead of SIGTERM to cgi scripts in case of errors

kill broken cgi processes as soon as possible

log cgi pid

fix build

add more cgi debug logging

add wait_read to cgi debug logging

add workaround for blocking cgi waitpid

fix don't try to enable pollout if it is already active (cgi)

improve cgi io event handling

fix cgi poll event handling

update uwproj

merge

change net_write to attempt to write all bytes, improve error handling

fix build on macOS

update uwproj

fix send_string_escaped

urlencode resource href in webdav multistatus response

(0) -300 -100 -48 tip

mercurial