update uwproj default tip

check pg connection when preparing the resource

add missing source file

add code from Open Web Server req.cpp

add rewrite_url tests

add rewrite directive

cleanup compiled location regex

add session_create

add test for rewrite_rule_create

add rewrite_rule_create

add rewrite_url

update ucx to version 3.2

add WSLocationConfig match initialization

implement forcetls setting

save location match results

implement Location VFS directive

implement Location AddACL directive

respect DirectoryIndex location setting in the service_index SAF

add apply_location_config SAF

fix location match type initializataion

add match_location nametrans SAF

add location config parser

add simple string template function

port old ucx2 tests to ucx3

add util/strreplace.h

set token delimeters for the server.config parser, fixes #760

add protocol_status_message_s function

remove old ObjectConfig struct and rename ObjectConfig2

remove some unused objconf functions

fix potential uninitialized read in util_uri_unescape_strict

enable debug request file logging

some string simplifications

add debug request logging in case uri_unescape fails

send error response if nsapi_start_request fails

add ucx kv_list

update ucx

use -dynamiclib flag to build a dylib on macos

add srvctrl stop command

use vfs_stat instead of stat in send_cgi

fix cgi pipe fd initialization

fix user-after-free in case evt_add_request/ev_pollin fails

update uwproj

improve error handling/logging in nsapi_start_request

update ucx

fix non-working strtoint conversion in webdav_xattr_parse_data by switching to cx_strtoi64

change error handling in case webdav_xattr_parse_data fails: set response to 500 instead of failig the entire multistatus response

fix stderr logging

final fix

no

will this finally fix it?

fix openssl < 3.0 hash init functions

fix ws_sha512_create

hopefully this actually fixes building with openssl < 3.0

fix build with openssl version < 3.0

replace wrong cxMapRemoveAndGet with cxMapRemove

remove unwanted linebreak from output

add navigation to directory listing and improve css

add size in bytes as tooltip to the directory listing

make directory listing sorting case insensitive

add show-emojis, dir-icon, file-icon, show-hidden parameters to common-index SAF

implement new directory listing, that outputs size/lastmodified and has a sorted output

add crypto cng hashing implementation for windows

add common crypto hashing implementation for macOS

fix wrong status code when an ACL check fails in vfs_open

use readdir instead of readdir_r

add request uri/path debug logging

use new sha512 functions in keyfile_auth.c

add sha512 hashing functions

use openssl hashing wrapper in keyfile_auth.c

add sha1 API

add wrapper for openssl hashing functions

make cgi response status header check case insensitive

remove ucx utils.h includes

remove wrong ucx include

update ucx

memset threadpool object

extend postgresql vfs resource table

update ucx

fix OOM handling in pool_malloc, which could lead to invalid pools and potential crash

add shutdown cleanup (listener, log, threadpool)

add more shutdown cleanup: pwbuf, threadpool, logfiles, authdb

remove unused function

add saf function map cleanup

add resourcepools/common saf shutdown cleanup code

add cleanup for webdav module

shutdown acceptor threads on ws shutdown

improve threadpool_shutdown cleanup

add threadpool debug logging

add error handling in case accept fails

check and close pipes if cgi_start fails

log all cgi pipe fds

add pipe fds to cgi debug logging

fix wrong column name usage by pg prop extensions

add TODO to use a future ucx feature

fix pgext uses a wrong field number, if the column has the same name as a resource or property column

add more keep alive trace logging

fix trace log use after free

log event free

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

(0) -240 tip

mercurial