summaryrefslogtreecommitdiffstats
path: root/nanohttp
AgeCommit message (Collapse)AuthorFilesLines
2006-03-06Buildsystem cleanupGravatar m0gg2-60/+11
2006-02-27- removes a memleak in examples/csoap/simpleserver.c say_helloGravatar snowdrop17-259/+336
- 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-27Added c++ macroGravatar snowdrop8-9/+68
#ifdef __cplusplus extern "C" { #endif ... #ifdef __cplusplus } #endf
2006-02-27added #ifdef __cplusplus {Gravatar snowdrop1-1/+8
extern "C" macros
2006-02-25patches by Heiko. See mailinglist (archive 25.02.06)Gravatar snowdrop1-72/+84
2006-02-22Fixed a small bug in reading (or not) a calistGravatar mrcsys1-1/+1
2006-02-21SSL socket read stuff and a whole section that could never get called.Gravatar mrcsys3-30/+21
Errors were also difficult to deal with, this has been cleaned up
2006-02-21fixed a win32 compat issueGravatar mrcsys2-3/+17
2006-02-21Removed some log messagesGravatar mrcsys1-3/+3
2006-02-19initial importGravatar snowdrop2-0/+182
2006-02-18added basic authentication and SOAP-Header capabilities for request objectsGravatar snowdrop14-692/+515
Thanks to Heiko Ronsdorf
2006-02-09A few more error conditions need to be checked for in a socket read under SSLGravatar mrcsys1-2/+6
2006-02-09pthread header not needed in win32 and may cause errors.Gravatar mrcsys1-1/+3
2006-02-08the attached patches address the following issues:Gravatar snowdrop7-26/+108
* 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-02-04Added include file netinet/in.h to be able to compile under FreeBSDGravatar snowdrop1-1/+5
2006-01-31Odd state that would cause a bad loopGravatar mrcsys1-2/+8
2006-01-25Some WIN32 libraries do not allow %T in strftime. WIN32 stinks.Gravatar mrcsys2-4/+4
2006-01-19Minor win32 fixes.Gravatar mrcsys3-5/+7
2006-01-18Tweaking to integrate.Gravatar mrcsys3-12/+30
2006-01-18Added start_ssl function to initialize library.Gravatar mrcsys4-11/+24
2006-01-11intergrating ssl. Removing global variables SSL* like SSLctx and ↵Gravatar snowdrop8-61/+125
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-10A bad SSL init would cause a connection to hang.Gravatar mrcsys1-98/+98
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 snowdrop18-1316/+1296
2006-01-10indent with 'indent -nut -bli0 -fca' commandGravatar snowdrop18-2486/+2725
2006-01-06changed email adres in header commentGravatar snowdrop1-2/+2
2006-01-06added warnings to ssl parameters if compiled without --with-sslGravatar snowdrop1-1/+19
2006-01-06wrapped call to verify_user() by ifdef ifdefGravatar snowdrop1-0/+4
2006-01-06bugfix: changed nanohttp-ssl.c to nanohttp-ssl.h in h_sourcesGravatar snowdrop1-2/+5
2006-01-06Updated to take the HAVE_SSL define and act accordinglyGravatar mrcsys4-5/+37
2006-01-06added #ifdef HAVE_SSL checkGravatar snowdrop4-5/+27
2006-01-03In WIN32, we must set the socket to block before SSL accept.Gravatar mrcsys1-0/+5
2006-01-03WIN32 link does not like to overload functions in a lib, so userverify is ↵Gravatar mrcsys1-0/+2
commented out now.
2006-01-03Self signed certs were not being allowed. This is "not good"Gravatar mrcsys1-1/+4
2005-12-22moved SSL init into the new thread, thatway an SSL problem will not cause ↵Gravatar mrcsys2-14/+15
the server to stop answering requests.
2005-12-22Win32 compile issue fixed.Gravatar mrcsys1-2/+5
2005-12-20Fixed a slight bug causing select return in hsocket_read to be improperly ↵Gravatar mrcsys1-15/+15
handled.
2005-12-19pathed stuf from mailinglist after 1.0.4rc1Gravatar snowdrop2-3/+23
2005-12-19shutdown(sock.sock, SHUT_RDWR)Gravatar snowdrop1-3/+3
2005-12-19initial importGravatar snowdrop2-0/+446
2005-12-19integrated with ssl (https) capabilityGravatar snowdrop8-138/+369
2005-07-27Changes of MenzoGravatar snowdrop3-4/+22
nanohttp/nanohttp-client.c and nanohttp/nanohttp-client.h added httpc_close_free, a variant of httpc_free which explicitly asks to close the socket. Otherwise after a number of client/server interactions we get socket error 24 (Too many open files). libcsoap/soap-client.c call httpc_close_free instead of httpc_free nanohttp/nanohttp-socket.c in hsocket_close call shutdown with SHUT_RDWR instead of 1 (SHUT_WR). Otherwise after a number of client/server interactions the shutdown call doesn't return anymore.
2005-07-23changed if _MSVER ...Gravatar snowdrop1-2/+2
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 snowdrop8-18/+37
2004-11-05changed #ifndef MINGW to #ifndef __FUNCTION__Gravatar snowdrop1-2/+2
2004-11-02removedGravatar snowdrop1-73/+0