Commit Graph

2544 Commits (0fcd51438dc663dc1bebf54404e94128924687dd)

Author SHA1 Message Date
Glenn Strauss 785037dded [core] http_header.c internal inline funcs
3 years ago
Glenn Strauss 70b5d729ae [core] mark some data_* funcs cold
3 years ago
Glenn Strauss b2991c686d [core] perf: array.c performance enhancements
3 years ago
Glenn Strauss 2fd0faf1bf [mod_extforward] simplify code: use light_isxdigit
3 years ago
Glenn Strauss d58787189a [core] handle common case of alnum or - field-name
3 years ago
Glenn Strauss 71a7b54947 [core] more 'const' in request.c prototypes
3 years ago
Glenn Strauss 36f3206a4c [core] pass ptr to http_request_parse()
3 years ago
Glenn Strauss 8223903e50 [core] inline connection_read_header()
3 years ago
Glenn Strauss 11f3dd896b [core] perf: connection_read_header_hoff() hot
3 years ago
Glenn Strauss ec2ff2c6ae [core] perf: connection_read_header_more()
3 years ago
Glenn Strauss 46d7e9c2ed [core] no need to pass srv to connection_set_state
3 years ago
Glenn Strauss 63e32e8100 [core] perf: HTTP header parsing using \n offsets
3 years ago
Glenn Strauss fa4ab19275 [core] reduce use of struct parse_header_state
3 years ago
Glenn Strauss cdf653f8ce [core] pass con around request, not srv and con
3 years ago
Glenn Strauss fcd1f57511 [core] connection_chunkqueue_compact()
3 years ago
Glenn Strauss 2ad92d17a1 [core] chunkqueue_compact_mem()
3 years ago
Glenn Strauss d22e7a769d [core] cold buffer_string_prepare_append_resize()
3 years ago
Glenn Strauss c22ec74770 [core] do not pass srv to http header parsing func
3 years ago
Glenn Strauss 80d12919d1 [core] replace connection_set_state w/ assignment
3 years ago
Glenn Strauss be6964f415 [core] use func rc to indicate done reading header
3 years ago
Glenn Strauss 1334436394 [core] store struct server * in struct connection
3 years ago
Glenn Strauss 41944e3be8 [core] add User-Agent to http_header_e enum
3 years ago
Glenn Strauss 9858051d03 [core] remove srv->split_vals
3 years ago
Glenn Strauss bcd5288557 [mod_evhost] use local array to split values
3 years ago
Glenn Strauss 1b08c736ba [mod_flv_streaming] parse query string w/o copying
3 years ago
Glenn Strauss e2b4c309f6 [core] http_header_str_contains_token()
3 years ago
Glenn Strauss 6f803af03c [core] perf: request processing
3 years ago
Glenn Strauss f37c16aadd [core] fix one-byte OOB read (underflow)
3 years ago
Niclas Rosenvik 8c9b5480f3 [core] Solaris has getloadavg in sys/loadavg.h
3 years ago
Glenn Strauss 12aa0f4c91 [core] save errno before logging if execve() fails
3 years ago
Glenn Strauss fb74bb7514 [core] do not accept() > server.max-connections
3 years ago
Glenn Strauss 8bddac9263 [mod_auth] close connection after bad password
3 years ago
Glenn Strauss fce489b806 [core] fall back to accept() if accept4() EPERM (fixes #2998)
3 years ago
Glenn Strauss 9cdfb48466 [core] preserve %2b and %2B in query string (fixes #2999)
3 years ago
Glenn Strauss aaccb1bc5e [multiple] address coverity warnings
3 years ago
Glenn Strauss f4a5a09d96 [core] Oracle Solaris does not have POLLRDHUP
3 years ago
Glenn Strauss 330c39c694 [mod_accesslog] parse multiple cookies (fixes #2986)
3 years ago
Glenn Strauss fa8856757c [mod_openssl] reject invalid ALPN
3 years ago
Glenn Strauss 66624b375b [core] reject Transfer-Encoding + Content-Length (#2985)
3 years ago
Glenn Strauss 61f85d14ee [core] reject WS following header field-name (fixes #2985)
3 years ago
Glenn Strauss 851728c6a1 [core] avoid freeaddrinfo() on NULL ptr (fixes #2984)
3 years ago
Glenn Strauss 5c3f439bcf [build] PGSQL_CFLAGS with pkg-config for postgres (#2965)
3 years ago
Glenn Strauss 0e749c1c84 [mod_auth] http_auth_const_time_memeq() (#2975, #2976)
3 years ago
Glenn Strauss 89dfbf14a5 [mod_auth] http_auth_const_time_memeq_pad()
3 years ago
Glenn Strauss 6ad325c659 [mod_auth] Authentication-Info: nextnonce=...
3 years ago
Glenn Strauss c81bd354b2 [mod_auth] require digest uri= match original URI
3 years ago
Glenn Strauss 1799e4c3eb [mod_auth] do not use quoted-string for algorithm
3 years ago
Glenn Strauss 019efb0ed8 [mod_webdav] fix file uploads > 128M (fixes #2970)
3 years ago
Glenn Strauss 3390642285 [mod_authn_gssapi] option to store delegated creds (fixes #2967)
3 years ago
Glenn Strauss e9440ecfdf [mod_authn_gssapi] 500 if fail to delegate creds (#2967)
3 years ago
Glenn Strauss ea6006944b [mod_auth] http_auth_const_time_memeq improvement
3 years ago
Glenn Strauss 84fb334476 [core] disable stat_cache FAM if FAM conn closed
3 years ago
Glenn Strauss c6b46da2c9 [core] retry on some fdevent set/del temporary err
3 years ago
Glenn Strauss 2e7a3c0ac5 [mod_deflate] fix choose encoding parse error (fixes #2981)
3 years ago
Glenn Strauss 06a395a93e [core] issue config error for invalid ':' (fixes #2980)
3 years ago
Glenn Strauss 670b2086f8 [core] move con state handling to connections*.c
3 years ago
Glenn Strauss b1cc0856d2 [core] fdevent_poll() is effective periodic timer
3 years ago
Glenn Strauss 5718a471b0 [core] improve http_headers[] data struct packing
3 years ago
Stefan Bühler 7e5dfc1a40 [cmake]: enable CMAKE_POSITION_INDEPENDENT_CODE by default
4 years ago
Stefan Bühler d7c0fc295f Also use explicit_memset (NetBSD) with cmake, scons and meson
4 years ago
Stefan Bühler 79760d935a Use explicit_memset from NetBSD if available for safe_memclear (fixes #2971)
4 years ago
Glenn Strauss 186ce8a2b1 [core] allocate unix socket paths with SUN_LEN()+1 (fixes #2962)
4 years ago
Glenn Strauss cc492d438b [core] correct __attribute_pure__ syntax
4 years ago
Glenn Strauss 1300815688 [core] use buffer_eq_icase_ssn func
4 years ago
Glenn Strauss e20b5318d5 [core] use buffer_eq_icase_ssn func
4 years ago
Glenn Strauss 02cd38687b [core] cold func http_response_omit_header()
4 years ago
Glenn Strauss 075241c773 [mod_webdav] fix startup crash w/ multiple conds (fixes #2958)
4 years ago
Glenn Strauss 72d4fe7451 [core] mark some more funcs w/ __attribute_pure__
4 years ago
Glenn Strauss fc42ec12d9 [multiple] replace strcasecmp() on short strings
4 years ago
Glenn Strauss e3874a20ba [core] use buffer_eq_icase* funcs
4 years ago
Glenn Strauss 49ed72cef4 [core] mark some more funcs w/ __attribute_pure__
4 years ago
Glenn Strauss ac8444f2e6 [core] specialized buffer_eq_*() for short strings
4 years ago
Glenn Strauss ca059d580d [core] array-specialized buffer_caseless_compare()
4 years ago
Glenn Strauss 4fb5a791b0 [core] __attribute_pure__
4 years ago
Glenn Strauss 32a8f0b3b5 [core] fix compile error on Solaris (fixes #2959)
4 years ago
Glenn Strauss ae9cafecea [mod_authn_ldap] ldap_set_option LDAP_OPT_RESTART (fixes #2940)
4 years ago
Glenn Strauss 4ac239c401 [mod_maxminddb] MaxMind GeoIP2 support
4 years ago
Glenn Strauss ef0a211733 [core] adjust http_chunk read() retry loop
4 years ago
Glenn Strauss cb1c49a74a [mod_magnet] expose server addr (local IP) to lua
4 years ago
Glenn Strauss 42942ec97c [core] use high precision stat timestamp on OS X
4 years ago
Glenn Strauss 64b0f7229e [core] buffer_reset() should not be passed NULL
4 years ago
Glenn Strauss a86ea83b5a [core] chunkqueue perf: read small files into mem
4 years ago
Glenn Strauss 8ae0646748 [core] chunkqueue perf: skip opening 0-length file
4 years ago
Glenn Strauss d9e2dd4b2e [core] chunkqueue perf: specialized buffer.h funcs
4 years ago
Glenn Strauss 6572976e06 [core] chunkqueue perf: code reuse
4 years ago
Glenn Strauss 146ea6bad0 [mod_webdav] invalidate parent dir in stat_cache
4 years ago
Glenn Strauss dd3d20c3d0 [mod_webdav] doc Microsoft-WebDAV-MiniRedir bugs
4 years ago
Glenn Strauss e9abd76acc [mod_webdav] workaround Microsoft-WebDAV-MiniRedir
4 years ago
Glenn Strauss 9bb01a49df [core] check if splay_tree NULL before invalidate
4 years ago
Glenn Strauss 003fd0f8c3 [core] store log_state_handling flag on stack
4 years ago
Glenn Strauss b0ae5fcbcd [core] support weak etags with If-None-Match
4 years ago
Glenn Strauss 1a325a196c [mod_openssl] use SSL_CTX_set_client_hello_cb()
4 years ago
Glenn Strauss 52c489837f [build] detect FreeBSD elftc_copyfile()
4 years ago
Glenn Strauss 3abbb8dc4b [cmake] help cmake on FreeBSD find sys/event.h
4 years ago
Glenn Strauss d836d20317 [stat_cache] fix compilation error for cmake
4 years ago
Glenn Strauss 1cf68f79eb [core] behavior change: stricter URL normalization
4 years ago
Glenn Strauss 77c2883da9 [mod_webdav] quiet coverity warnings
4 years ago
Glenn Strauss 84db583e3e [stat_cache] FAM: whitespace-only change
4 years ago
Glenn Strauss 60a4b5f118 [stat_cache] FAM: separate routine for FDEVENT_IN
4 years ago
Glenn Strauss 8cc189f4c6 [stat_cache] FAM: improve monitoring, cache 16 sec
4 years ago
Glenn Strauss f56800e86a [stat_cache] no longer stat() and open() for stat
4 years ago
Glenn Strauss 44156bbe81 [multiple] open target file earlier in some cases
4 years ago
Glenn Strauss 470a692211 [core] http_chunk_append_file_fd()
4 years ago
Glenn Strauss 8f0adfe043 [core] emit trace using path before clearing path
4 years ago
Glenn Strauss 61e8d799f0 [scons] adjustment for static build under CentOS
4 years ago
Glenn Strauss 338c73fd28 [core] use high precision stat timestamp in etag
4 years ago
Glenn Strauss 311f258ab3 [mod_webdav] update stat_cache after file mod
4 years ago
Glenn Strauss 57470365a2 [stat_cache] interfaces to invalidate entries
4 years ago
Glenn Strauss f89f9191f4 [stat_cache] FAM: funcs to invalidate entries
4 years ago
Glenn Strauss c7eaa502ec [stat_cache] FAM: ignore event with no valid match
4 years ago
Glenn Strauss 18faa0910c [stat_cache] FAM: check hash collision before add
4 years ago
Glenn Strauss 8772e85cea [stat_cache] FAM: ignore follow-symlink config
4 years ago
Glenn Strauss 1971da13db [stat_cache] FAM: improve handling modified file
4 years ago
Glenn Strauss 38ce790657 [stat_cache] FAM: use entry hash index as userdata
4 years ago
Glenn Strauss a3d171526a [stat_cache] FAM: check FAMNextEvent() return code
4 years ago
Glenn Strauss cc49703372 [stat_cache] FAM: reduce string copying
4 years ago
Glenn Strauss a50b72c356 [stat_cache] remove splaytree ins/del debug code
4 years ago
Glenn Strauss 47d006ae47 [stat_cache] pass age param for stat cache cleanup
4 years ago
Glenn Strauss baa5f04335 [stat_cache] store entries without trailing slash
4 years ago
Glenn Strauss 020a83c265 [stat_cache] separate symlink pol from data struct
4 years ago
Glenn Strauss 73bfee6308 [stat_cache] separate func for symlink policy chk
4 years ago
Glenn Strauss 5ac92dca08 [mod_webdav] check If-None-Match (#1818)
4 years ago
Glenn Strauss aacdd3da02 [mod_webdav] special-case If: (<DAV:no-lock>)
4 years ago
Glenn Strauss ab005809e1 [mod_webdav] disable elftc_copyfile() on FreeBSD
4 years ago
Glenn Strauss 278c42abc5 [mod_webdav] platform portability fixes
4 years ago
Glenn Strauss d4b726bf24 [mod_webdav] provide ETag in more responses
4 years ago
Glenn Strauss d334ee5c2f [mod_webdav] deprecated unsafe partial PUT compat
4 years ago
Glenn Strauss eee29b65e5 [mod_webdav] check If-Match, If-Unmodified-Since (#1818)
4 years ago
Glenn Strauss 3111e24b71 [mod_webdav] clean up resources after do{}while(0)
4 years ago
yangfl 4af0f97f14 [mod_webdav] fix misbehavior on blank nodes in PROPPATCH
4 years ago
yangfl 6962fc2a5a [mod_webdav] fix uuid detection macro
4 years ago
Glenn Strauss 993cb545d8 [mod_webdav] surround Lock-Token with "<...>"
4 years ago
Glenn Strauss 95aa2c178d [core] 200 for OPTIONS /non-existent/path HTTP/1.1 (fixes #2939)
4 years ago
Glenn Strauss 50aae03c31 [mod_webdav] major rewrite (fixes #1818)
4 years ago
Glenn Strauss a15f40a569 [core] replace open() with fdevent_open_cloexec()
4 years ago
Glenn Strauss f1e9bcb08a [core] new worker_init hook to follow parent fork
4 years ago
Glenn Strauss 4183e723ce [core] log_error, log_perror using printf-like fmt
4 years ago
Glenn Strauss cbad7517c8 [core] struct log_error_st for error logging
4 years ago
Glenn Strauss 9eead7db7c [core] __attribute__((format ...))
4 years ago
Glenn Strauss 0dccda28ad [core] add const to some etag prototypes
4 years ago
Mohammed Sadiq 6a988bb0d0 [multiple] cleaner calloc use in SETDEFAULTS_FUNC
4 years ago
Glenn Strauss 599b4f05c8 [core] fix 1.4.52 regression in mem use with POST (fixes #2948)
4 years ago
Glenn Strauss e757978497 [core] remove repeated slashes in http-parseopts
4 years ago
Glenn Strauss 32120d5b8b [core] fix abort in http-parseopts (fixes #2945)
4 years ago
Glenn Strauss 107fa1f282 [mod_wstunnel] fix ping-interval for big-endian (fixes #2944)
4 years ago
Glenn Strauss b135b4d24d [core] clear FDEVENT_RDHUP if no POLLRDHUP
4 years ago
Glenn Strauss f2ac4cdfc5 [core] off_t upload_temp_file_size
4 years ago
Glenn Strauss a78404cfbf [core] fdevent_mkstemp_append() (shared)
4 years ago
Glenn Strauss 97d4c11ba6 [core] __attribute__((fallthrough)) for GCC 7.0
4 years ago
Glenn Strauss f60f1a279e [core] extend dir redirection to take HTTP status
4 years ago