Commits

Show all
Author Commit Message Labels Comments Date
Dossy Shiobara
BUMP: 4.0.7
Tags
aolserver-4.0.7
Dossy Shiobara
(Ns_ConnReturnUnauthorized): add WWW-Authenticate header for templated 401 pages (bug #674033) Backported from HEAD.
Dossy Shiobara
(Ns_InitInfo): initialize conf structures before Ns_Log is used (bug #868362) Ns_GetAddrByHost() reports errors via Ns_Log(), so calls to it should be done after Ns_Log has been initialized, otherwise very unhelpful error messages are produced. In particular, this happens when the server is started and the hostname as returned by gethostname() cannot be resolved, because the network interface is down AND no entry exists in /etc/hosts. Closes SF Bug #868362. Backported from…
Dossy Shiobara
Fix crash bug freeing static storage on bad request
Dossy Shiobara
BUMP: 4.0.7a
Dossy Shiobara
Tag aolserver-4.0.6
Dossy Shiobara
BUMP: 4.0.6
Tags
aolserver-4.0.6
Tim Suh
Enable keep-alive for more response codes: 201, 207, 300
Dossy Shiobara
Host header mandatory for HTTP/1.1 (bug #787728); map default server (bug #812036) Change to make HTTP request "Host:" header mandatory for HTTP/1.1 connections by returning 400 Bad Request response. Closes SF Bug #787728. Also, changed virtual server code to use the "hostname" param from the "ns/module/nssock" section to map the default virtual server based on the value (hostname) from the "ns/module/nssock/servers" section, when the "Host:" header is either not specified (HTT…
Dossy Shiobara
(LogTrace): check for conn->headers == NULL, segfault (bug #990439) Backported from HEAD.
Dossy Shiobara
Define ENOTSUP for benefit of OpenBSD 3.5 (bug #985076) Backported from HEAD.
Dossy Shiobara
(Ns_GetMimeType): return correct mime-type when dir has . but filename doesn't (bug #739049) Backported from HEAD.
Dossy Shiobara
(ns_respond): enable overide Last-Modified header when -heades and -file given, bug #879076 Backport from HEAD, for 4.0.6.
Dossy Shiobara
Lots of refactoring of ns_respond code to remove duplication. Backport from HEAD.
Dossy Shiobara
Fix bug #833940: ns_eval chokes on comments ns_eval of script containing comments (i.e., lines starting with "#") cause an error because $args is a list, which gets evaluated differently than a plain string script. Backported from HEAD.
Dossy Shiobara
Fix supplementry groups when -u specified, closes bug #425401 Ensure that supplementary groups from /etc/group are set if -u username is specified, or dropped if a uid is specified so that the nsd doesn't run with root's supplementary groups. Backport from HEAD.
Dossy Shiobara
Trivial - eliminate compiler warning for nsd/nsmain.c
Dossy Shiobara
Include full function name in Tcl_Panic call within Ns_TclSet (Backport from HEAD.)
Dossy Shiobara
Fix synchronous signals under LinuxThreads, possible fix for Bug #982955 Backported from HEAD for 4.0.6.
Dossy Shiobara
Fix build on alpha removing extra INT64 typedef, closes bug #896962 (Backport from HEAD.)
Dossy Shiobara
Ns_ConnSetRequiredHeaders now requires length < 0 for no Content-Length header (Backport from HEAD.)
Robert Crittenden
Make ns_log use a custom logger as well as Ns_Log Moved the custom logger code from Ns_Log into Log so that Ns_Fatal also works properly.
Dossy Shiobara
Fix bug #971016 -- unflushed headers with zero-length file and mmap unnecessary test for data != NULL actually caused part of bug #971016 when fastpath.cache=false and fastpath.mmap=true and the file requested is zero bytes, mmap() returns 0 which gets passed along as data == NULL, causing ReturnCharData() to not flush the queued headers. removing the if is safe as Ns_WriteConn will simply flush any queued data
Dossy Shiobara
Fix bug #971016 -- flush headers with zero-length file and dissabled cache If nsend == 0, we would never call Ns_WriteConn to flush the queued headers. This could happen when we're sending zero bytes of data as a response. This fixes bug #971016 in the case where fastpath.cache=false and fastpath.mmap=false and a zero byte file is requested.
Dossy Shiobara
Fix Content-Length header for content of zero bytes (bug #971016)
Robert Crittenden
Become AOLserver 4.0.5
Robert Crittenden
Don't try to trim empty strings
Robert Crittenden
Allow HTTP/1.0 Connection: keep-alive for all methods Add new bool config option, keepaliveallmethods, to enable this. By default this is false (disabled).
Robert Crittenden
Provide override functions for Ns_Log and and LogFlush Gives the user more control over how server logging works.
Robert Crittenden
Tag aolserver-4.0.5
  1. Prev
  2. Next