- Fixed `Host` header regression (Issue #967)
- Fixed DNS-SD lookups of local services with Avahi (Issue #970)
- Fixed debug printfs PID substitution support (Issue #1066)
+- Fixed `ServerToken None` in scheduler (Issue #1111)
- Fixed CGI program initialization and validation of form checkbox and text
fields.
- Fixed finishing support in ippeveps.
con->serverport = httpAddrGetPort(&(lis->address));
}
+ /*
+ * Apply ServerHeader if any...
+ */
+
+ if (ServerHeader)
+ httpSetDefaultField(con->http, HTTP_FIELD_SERVER, ServerHeader);
+
/*
* Add the connection to the array of active clients...
*/
code = HTTP_STATUS_OK;
}
- if (ServerHeader)
- httpSetField(con->http, HTTP_FIELD_SERVER, ServerHeader);
-
if (code == HTTP_STATUS_METHOD_NOT_ALLOWED)
httpSetField(con->http, HTTP_FIELD_ALLOW, "GET, HEAD, OPTIONS, POST, PUT");