improve sessionhandler trace logging

add sessionhandler debug logging

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

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

little bit more url escape

send_string_escaped should escape for urls, not html

add WS_CFLAGS to admin makefile

remove basic_mempool.h usage

update ucx

fix webdav mkcol error status codes

fix non-blocking CGI handler and non-blocking SSL-IO

fix cgi-send inactive write event blocking request termination

fix uninitialized memory in http stream, when chunked transfer encoding is used

fix cgi event handling, pipes were not always closed

fix net_http_write when used with chunked transfer encoding and non-blocking IO

fix cgi response could send an uninitialized buffer

add http range debug logging

don't add empty query to rq->reqpb

fix missing connection ssl_error initialization

fix net_sendfile not counting number of written bytes

fix ssl settings not stored in the listener

update ucx

update ucx

fix PUT could potentially return a wrong status code

fix wstool ldflags, missing ../lib rpath

webdav_propfind logs less errors for http 4xx errors

fix uninitialized memory usage in sys_vfs_open, resulting in unwanted fchown calls

fix configure script: escape $$ORIGIN

implement webdav xattr namespace lists

add error handling to webdav_xattr_serialze_map()

implement propfind for webdav xattr backend

implement proppatch of the xattr webdav backend

add libxattr

add new xattr based webdav backend (unimplemented)

prevent crash in default_propfind_do triggered by bad webdav config

fix nsapi_error_request() could send empty error messages with http status 200, if the request status code wasn't set

fix default webdav backend initialization

set _GNU_SOURCE in ldap_resource.c

fix broken log_ereport call

implicitly create a resource pools for ldap authdbs, if no resource is specified

implement userNameIsDN and enableGroups for ldap auth

minimal support for ldap groups

refactor ldap user authentication, use new filter config

load additional ldap authdb config

make ldap auth minimally working again and disable auth caching, because it is currently broken

refactore ldap_auth to use resource pools

add force-type SAF

rename ldap-query to ldap-search, rename query parameter to filter

add ldap-query saf

add option to automatically bind new ldap sessions

add bind parameters to ldap resource pool

add ldap resource pool type implementation

resourcepool_free should remove the resource from the request resource cache

log error in get_next_token()

fix openssl dependency resolution on bsd

update ldflags

update obj.conf install template to new syntax

fix double free in case parsing a config file fails

fix build on linux

fix build on macos

implement most nsapi expression operators

fix cgi stderr logger + reuse stderr tmp buffer

fix cgi pipes not closed in some error case + minor improvements

improve http listener migration / shutdown of old listener

use separate buffer for chunked transfer encoding, not inbuf

add missing init_logging declaration

implement acceptor thread shutdown

improve acceptor error handling

fix configuration referencing

improve daemon startup

fix stdout log message duplicates

fix listener ssl initialization

implement successor listener, fix webserver_reconfig

fix srvctrl thread stacksize

refactore http listener creation

replace linkedlist with arraylist in the expression parser

update ucx

expression parser: add support for functions

redirect stdout/stderr to log file

use non-blocking IO for pipes and socket in send_cgi

add http_send_response function that is usable for non-blocking IO

parse cgi stderr output for logging and use non-blocking pipes

refactor send_cgi into non-blocking SAF (wip)

fix prepare_service_file error handling

improve error handling in send_file if the file is a directory

add check if pidfile can be opened

run Init directives after setuid

make config parser delimiters configurable

allow '-' in tokens, add support for negative integers

add obj.conf expression parser

extend serverconfig tokenizer to create separate tokens for brackets

use realloc instead of malloc in object_add_directive

new recursive function to convert objconf (preparation for nsapi conditions)

new obj.conf parser based on serverconfig parser

use server.conf parser for init.conf as well

prepare serverconfig parser to be also used for obj.conf and init.conf

update ucx hash functions

switch from ucx 2 to 3

improve propfind error handling

implement ACL check for proppatch requests

improve error handling in webdav_proppatch

improve sessionhandler error handling

improve error handling in basic_run_session

abort config loading if an unknown webdav backend is specified

replace perror() messages with log_ereport in thrpool.c

close connection if content-length != number of bytes written

store number of written bytes in the HttpStream

add vfs support to dir_redirect

add vfs support to find_index

fix multistatus response creating namespace definitions twice in some cases

pg: fix proppatch not working for normal dead properties if extensions are enabled

fix invalid propfind pg queries created for allprop requests on collections

fix warning caused by an ucx update that changed UcxKey data to const

fix ucx include path in postgresql plugin

use IPV6_V6ONLY socket option on linux

convert ipv6 addr to string

add initial ipv6 support

fix mkcol not responding with correct status code in some cases

"write" permission includes "add_file" now

fix listener not initialiazed before changeuid

print error in case the log file config doesn't work

add verbose logging for setuid/setgid and abort startup if setuid fails

reduce log warnings in case pg_check_connection fails

fix double free in postgresql resourcepool if pg_check_connection fails

change uid before most of the config is loaded

fix build on non-freebsd systems

merge cpp-ports

merge branch webdav into default

remove debug code webdav

fix net_printf not working with empty strings webdav

disable pg large object IO functions for collections webdav

fix resourcetype initialization webdav

pg propfind stores resource_id in rq->vars webdav

pg_vfs_open stores the resource_id in rq->vars webdav

make original proppatch property list available to all backends webdav

Add support for extended properties in pg proppatch webdav

Add support for extended properties in pg propfind webdav

build pg propfind query from components webdav

use configured root node from PgRepository in pg vfs/webdav webdav

add parser for extended postgresql webdav config webdav

add config option for pg root node lookup webdav

add global resource lookup function webdav

adjust pg plugin to new dav initialization webdav

add support for named dav repositories in nametrans safs webdav

implement named dav repositories webdav

add support for name/value config args webdav

(0) -192 tip

mercurial