diff options
author | snowdrop | 2006-02-27 22:26:01 +0000 |
---|---|---|
committer | snowdrop | 2006-02-27 22:26:01 +0000 |
commit | b73c5d785a71edade3ba473cbb13ec57aaeec7ed (patch) | |
tree | 513989fcd640714bd6520d1d981aeb0bd391c267 /nanohttp/nanohttp-stream.h | |
parent | c734a9e1a4fc7418911d8c50817d619221d2cd42 (diff) | |
download | csoap-b73c5d785a71edade3ba473cbb13ec57aaeec7ed.tar.gz csoap-b73c5d785a71edade3ba473cbb13ec57aaeec7ed.tar.bz2 |
- removes a memleak in examples/csoap/simpleserver.c say_hello
- 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
Diffstat (limited to 'nanohttp/nanohttp-stream.h')
-rwxr-xr-x | nanohttp/nanohttp-stream.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/nanohttp/nanohttp-stream.h b/nanohttp/nanohttp-stream.h index 0cc3ab7..ac78603 100755 --- a/nanohttp/nanohttp-stream.h +++ b/nanohttp/nanohttp-stream.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-stream.h,v 1.8 2006/02/27 00:26:23 snowdrop Exp $ + * $Id: nanohttp-stream.h,v 1.9 2006/02/27 22:26:02 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -24,12 +24,15 @@ #ifndef NANO_HTTP_STREAM_H #define NANO_HTTP_STREAM_H +#include <stdio.h> + +#include <nanohttp/nanohttp-socket.h> +#include <nanohttp/nanohttp-common.h> + #ifdef __cplusplus extern "C" { #endif -#include <stdio.h> - void _log_str(char *fn, char *str, int size); /* @@ -57,12 +60,6 @@ void _log_str(char *fn, char *str, int size); */ -#include <nanohttp/nanohttp-socket.h> -#include <nanohttp/nanohttp-common.h> - -#include <stdio.h> - - /** Transfer types supported while sending/receiving data. |