summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-socket.c
AgeCommit message (Collapse)AuthorFilesLines
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
2004-08-30fixed some bugs corresponding win32 port codeGravatar snowdrop1-4/+5
2004-08-26http stuffGravatar rans1-245/+298
2004-02-03developGravatar snowdrop1-13/+10
2004-01-21added server functionalityGravatar snowdrop1-3/+72
2004-01-13optimized codeGravatar snowdrop1-104/+2
2004-01-05startet post functionGravatar snowdrop1-1/+15
2003-12-17added connection close recv. fixed chunked encodingGravatar snowdrop1-4/+14
2003-12-16developGravatar snowdrop1-2/+8