added qse_httpd_setname(), qse_httpd_getname(), qse_httpd_fmtgmtimetobb()

added qse_fmthttptime()
added Date and Server to httpd tasks
This commit is contained in:
2012-09-13 12:31:01 +00:00
parent adb9f387f9
commit 7466287f93
13 changed files with 214 additions and 71 deletions

View File

@ -209,6 +209,8 @@ static int httpd_main (int argc, qse_char_t* argv[])
signal (SIGINT, sigint);
signal (SIGPIPE, SIG_IGN);
qse_httpd_setname (httpd, QSE_MT("httpd02/qse 1.0"));
qse_httpd_setoption (httpd, QSE_HTTPD_CGIERRTONUL);
ret = qse_httpd_loopstd (httpd, &rcb, 10000);