summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-server.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-06Various changes see ChangeLogGravatar m0gg1-167/+148
2006-02-27- removes a memleak in examples/csoap/simpleserver.c say_helloGravatar snowdrop1-106/+138
- adds various malloc error messages - does some libcsoap/*.c #include fixups - removes a memleak in libcsoap/soap-server.c soap_server_entry - removes the double free of SoapCtx->action (again!!!) - rewrites more or less cleanly hsocket_close - adds volatile keywords for thread shared data items - _httpd_parse_arguments cleanup - rwerites the _httpd_connection initialization - adds a call to pthread_attr_destroy in httpd_session_main - fixes a wrong loop initialization in _httpd_wait_for_emtpy_conn - fixes a memleak in httpd_session_main (req) - more sophisticated httpd_server example - HTTP authentication SEGfault without password fixed
2006-02-21fixed a win32 compat issueGravatar mrcsys1-2/+12
2006-02-18added basic authentication and SOAP-Header capabilities for request objectsGravatar snowdrop1-156/+198
Thanks to Heiko Ronsdorf
2006-02-08the attached patches address the following issues:Gravatar snowdrop1-4/+53
* query the port the server is listening on {soap_server,httpd}_get_port * the possibility to add a default service via httpd_register_default * remove some compiler warnings (on FreeBSD pthread_t is a pointer to a struct pthread, on Linux it is a (unsigned?) long int) tschuess, Heiko
2006-01-25Some WIN32 libraries do not allow %T in strftime. WIN32 stinks.Gravatar mrcsys1-2/+2
2006-01-19Minor win32 fixes.Gravatar mrcsys1-1/+3
2006-01-18Tweaking to integrate.Gravatar mrcsys1-4/+19
2006-01-18Added start_ssl function to initialize library.Gravatar mrcsys1-1/+5
2006-01-11intergrating ssl. Removing global variables SSL* like SSLctx and ↵Gravatar snowdrop1-8/+11
HSOCKET_SSL_* definition. Instead we are using HSOCKET_ERROR_SSL* definitions. introduced hsocket_init_ssl()
2006-01-11changed default temination signal to SIGINTbefore_ssl_api_introGravatar snowdrop1-2/+2
2006-01-10A bad SSL init would cause a crash here due to an odd returnGravatar mrcsys1-5/+3
2006-01-10If the service function issued a connection close, in a 1.1 connection it ↵Gravatar mrcsys1-243/+257
was remaining open.
2006-01-10indent with 'indent -nut -bli0 -fca -npcs' commandGravatar snowdrop1-251/+244
2006-01-10indent with 'indent -nut -bli0 -fca' commandGravatar snowdrop1-156/+188
2006-01-06Updated to take the HAVE_SSL define and act accordinglyGravatar mrcsys1-1/+7
2005-12-22moved SSL init into the new thread, thatway an SSL problem will not cause ↵Gravatar mrcsys1-1/+13
the server to stop answering requests.
2005-12-19integrated with ssl (https) capabilityGravatar snowdrop1-53/+120
2005-07-22changed position of pthread.hGravatar snowdrop1-2/+3
2005-07-15Fix from mailinglist 05.06.2005 with subject "Small fix form nanohttp"Gravatar snowdrop1-1/+6
from christian.
2005-05-27patch from mailinglistGravatar snowdrop1-5/+11
2004-11-02dos2unixGravatar snowdrop1-28/+28
2004-11-02developGravatar snowdrop1-2/+3
2004-10-29added hoption featureGravatar snowdrop1-2/+5
2004-10-28changed hstatus_t to herror_t and chagend the API function to return ↵Gravatar snowdrop1-30/+41
herror_t. Added herror_*() functions and fixed a bug in the socket receive comm.
2004-10-20optimized for visualc 6Gravatar snowdrop1-6/+13
2004-10-15added mime support and https stream objectGravatar snowdrop1-138/+449
2004-09-19Added http stream feature (only input stream yet)Gravatar snowdrop1-25/+26
Added DIME "client" support (very experimental)
2004-09-14fixed: select() function in http_run()r1_0_2bGravatar snowdrop1-42/+33
2004-09-14develop (not stable version of file)Gravatar snowdrop1-8/+8
2004-09-14migrating with mingwGravatar snowdrop1-5/+50
2004-09-14optimizing code and extracting some long functions into little functionsGravatar snowdrop1-47/+110
2004-09-13Made SIGTERM stuff work properly on both UNIX and WindowsGravatar rans1-537/+555
2004-09-13made win32 threaded httpd_run not threaded againr1_0_2_betaGravatar snowdrop1-565/+537
2004-09-07Made httpd_run run on a thread and added Sleep statements - seems to solve ↵Gravatar rans1-14/+42
WIndows performance problems
2004-09-01indentGravatar snowdrop1-319/+362
2004-09-01added the -NHTTPmaxconn featureGravatar snowdrop1-41/+43
2004-09-01migrating to win32 platformGravatar snowdrop1-164/+177
2004-08-31Reaper added and rearranged codeGravatar rans1-120/+25
2004-08-31Added multiple simultaneous connection supportGravatar rans1-36/+94
2004-08-31Removed pthread dependence. Now uses native threads.Gravatar rans1-5/+25
2004-08-30migration win32 socket codeGravatar snowdrop1-9/+14
2004-08-30optimized warningsGravatar snowdrop1-5/+4
2004-08-30fixed some bugs corresponding win32 port codeGravatar snowdrop1-3/+10
2004-08-26http stuffGravatar rans1-326/+354
2004-05-18Added command line argument support for "-NHTTPtsig <signal>" by addingGravatar snowdrop1-5/+7
_http_terminate_signal variable. This defines the termination signal handler value. Example : ./myserver -NHTTPtsig 2 will shutdown nano http properly by pressing ctrl-c (SIGINT = 2).
2004-05-14timeout is explicitly set before each select() callGravatar snowdrop1-4/+5
2004-03-26 Gravatar snowdrop1-11/+42
patch f creates detached threads (depending on problem under Redhat 9), thanks Menzo Windhouwer gracefully terminate HTTP server, added SIGTERM signal handler, thanks again to Menzo Windhouwer
2004-02-03developGravatar snowdrop1-18/+21
2004-01-30added post methodGravatar snowdrop1-22/+62