replace EWOULDBLOCK with EAGAIN default tip

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

add new dav config element webdav

revert optimization that does not harmonize with realloc() cpp-ports

fix code that is not standard C cpp-ports

port pblock.cpp to pblock.c cpp-ports

port uri.cpp to uri.c cpp-ports

make sure the http stream is finished if headers are sent webdav

check if service SAFs sent a response, terminate connection in case no response was sent webdav

check cgi exit code webdav

start threadpool in threadpool_run() if no threads are created yet webdav

add separate threadpool_start function for creating initial threadpool threads webdav

escape child href in pg propfind webdav

enable util_uri_escape and util_url_escape and add some tests webdav

add missing HttpStream initializations webdav

fix pg_vfs_dirio_readdir not initializing some VFS_ENTRY fields webdav

fix webdav_delete response in case of errors webdav

fix parse_request_line not detecting the uri correctly in some cases webdav

fix that pg mkdir can create directories with trailing path separators in the nodename webdav

xml escape href value in propfind response webdav

implement etag in pg propfind webdav

update etag when a postgresql file is updated webdav

extend postgresql vfs to store an etag in the file webdav

add optional getetag function to VFS API webdav

fix webdav_mkcol response and add error handling webdav

fix resource pool memory management webdav

fix invalid memory access in event_bsd.c webdav

add support for O_TRUNC in pg_vfs_open webdav

add O_TRUNC to oflags in webdav_put webdav

replace atoi with util_strtoint webdav

add util_asprintf and util_vasprintf webdav

remove redundant comments webdav

store HttpStream buflen as pointer (referencing NSAPISession cursize) webdav

code cleanup webdav

fix and simplify chunked transfer encoding webdav

first semi-functional implementation of chunked transfer encoding for request bodies webdav

simplify request input buffer webdav

implement allprop in default and postgresql webdav backends webdav

fix netbuf_getbytes not detecting EOF in some cases webdav

add content-length header to webdav_delete and webdav_put webdav

send response in webdav_put webdav

move http response code from webdav_vfs_op_do to webdav_delete webdav

send response in webdav_delete webdav

add davclass parameter to pfx2dir for setting the webdav backend webdav

add support for xml properties in propfind/proppatch requests (pg) webdav

fix TestVFSFile ctx initialization webdav

fix uninitialized memory access in directory check webdav

fix test request memory initialization webdav

fix memory initialization for WebdavProperty in webdav tests webdav

add WebdavNSList <-> string converting functions webdav

add basic pg proppatch implementation webdav

store property prefix in the database webdav

add tests for propfind allprop webdav

fix sql query for selecting specific properties webdav

fix pg propfind for getlastmodified property webdav

test pg propfind response webdav

add pg propfind cleanup webdav

implement pg getlastmodified propfind (and prepare creationdate) webdav

remove createtestdb from build webdav

implement pg getcontentlength property webdav

close last resource in multistatus_send webdav

fix href in pg propfind response webdav

add semi functional pg propfind handler webdav

change pg_resolve_path signature to be useable without VFS webdav

add basic parser for pg timestamps webdav

add pg webdav backend initialization webdav

fix some snprintf warnings webdav

add function for registering webdav backends webdav

add instance field to webdav backend struct webdav

add empty pg webdav funcs webdav

(0) -240 tip

mercurial