summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-socket.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-01Some fixes because recent changes did not work in WIN32. Now should be compatGravatar mrcsys1-2/+8
2006-04-26Fixed a significant bug in updated ssl code that would allow processes to ↵Gravatar mrcsys1-27/+63
"run away" Added a new option and helper functions for socket timeout Added new helper function for ssl arguments
2006-04-13log debug -> verbose changeGravatar m0gg1-2/+2
2006-03-23log_debug -> log_verboseGravatar m0gg1-2/+2
2006-03-16log_warn -> log_warn[123] replacedGravatar m0gg1-4/+4
2006-03-07Removed C++ style commentsGravatar m0gg1-32/+2
2006-03-06Various changes see ChangeLogGravatar m0gg1-293/+160
2006-02-27- removes a memleak in examples/csoap/simpleserver.c say_helloGravatar snowdrop1-35/+38
- 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-21SSL socket read stuff and a whole section that could never get called.Gravatar mrcsys1-30/+6
Errors were also difficult to deal with, this has been cleaned up
2006-02-21fixed a win32 compat issueGravatar mrcsys1-1/+5
2006-02-21Removed some log messagesGravatar mrcsys1-3/+3
2006-02-18added basic authentication and SOAP-Header capabilities for request objectsGravatar snowdrop1-139/+78
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-08the attached patches address the following issues:Gravatar snowdrop1-2/+2
* 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-11intergrating ssl. Removing global variables SSL* like SSLctx and ↵Gravatar snowdrop1-29/+48
HSOCKET_SSL_* definition. Instead we are using HSOCKET_ERROR_SSL* definitions. introduced hsocket_init_ssl()
2006-01-10indent with 'indent -nut -bli0 -fca -npcs' commandGravatar snowdrop1-140/+138
2006-01-10indent with 'indent -nut -bli0 -fca' commandGravatar snowdrop1-191/+247
2006-01-06changed email adres in header commentGravatar snowdrop1-2/+2
2006-01-06Updated to take the HAVE_SSL define and act accordinglyGravatar mrcsys1-1/+25
2006-01-06added #ifdef HAVE_SSL checkGravatar snowdrop1-2/+6
2005-12-22moved SSL init into the new thread, thatway an SSL problem will not cause ↵Gravatar mrcsys1-13/+2
the server to stop answering requests.
2005-12-20Fixed a slight bug causing select return in hsocket_read to be improperly ↵Gravatar mrcsys1-15/+15
handled.
2005-12-19shutdown(sock.sock, SHUT_RDWR)Gravatar snowdrop1-3/+3
2005-12-19integrated with ssl (https) capabilityGravatar snowdrop1-42/+157
2005-07-27Changes of MenzoGravatar snowdrop1-2/+2
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-05-27patch from mailinglistGravatar snowdrop1-5/+9
2004-11-02dos2unixGravatar snowdrop1-58/+58
2004-10-29added hoption featureGravatar snowdrop1-17/+26
2004-10-28changed hstatus_t to herror_t and chagend the API function to return ↵Gravatar snowdrop1-38/+66
herror_t. Added herror_*() functions and fixed a bug in the socket receive comm.
2004-10-20optimized for visualc 6Gravatar snowdrop1-8/+8
2004-10-18hsocket_close() debugGravatar snowdrop1-2/+2
2004-10-18hsocket_close() shutdown ported to non win32Gravatar snowdrop1-3/+5
2004-10-18modified hsocket_close() . added while loopGravatar snowdrop1-18/+53
2004-10-18uncommented closesocket()Gravatar snowdrop1-5/+5
2004-10-15updated for compiling under *nixGravatar snowdrop1-2/+10
2004-10-15added mime support and https stream objectGravatar snowdrop1-222/+133
2004-09-19Added http stream feature (only input stream yet)Gravatar snowdrop1-513/+490
Added DIME "client" support (very experimental)
2004-09-14develop (not stable version of file)Gravatar snowdrop1-2/+1
2004-09-14migrating with mingwGravatar snowdrop1-1/+2
2004-09-14moved SOCKET to hsocket_tGravatar snowdrop1-2/+2
2004-09-14optimizing code and extracting some long functions into little functionsGravatar snowdrop1-560/+512
2004-09-13Made SIGTERM stuff work properly on both UNIX and WindowsGravatar rans1-9/+8
2004-09-13fixed: if (err) was out of the ifdef blockGravatar snowdrop1-2/+2
2004-09-07Made httpd_run run on a thread and added Sleep statements - seems to solve ↵Gravatar rans1-1/+2
WIndows performance problems
2004-09-01migrating to win32 platformGravatar snowdrop1-294/+362
2004-08-31Reaper added and rearranged codeGravatar rans1-2/+99
2004-08-31Removed hsocket_accept functionGravatar rans1-44/+1
2004-08-30migration win32 socket codeGravatar snowdrop1-26/+21