Split the headers from the message body. Also now include proper headers
like Date, Server, Content-Length, etc. Also, fixed the type for an error message to be const char*.
This commit is contained in:
1 parent
771425700d
commit
3b5e17d579
2 files changed
+51
-10
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* $Id: utils.h,v 1.4 2001-05-27 02:38:46 rjkaes Exp $
|
||||
/* $Id: utils.h,v 1.5 2001-08-27 03:45:34 rjkaes Exp $
|
||||
*
|
||||
* See 'utils.h' for a detailed description.
|
||||
*
|
||||
@@ -24,7 +24,7 @@
|
||||
extern char *xstrstr(char *haystack, char *needle, size_t length,
|
||||
bool_t case_sensitive);
|
||||
|
||||
extern int httperr(struct conn_s *connptr, int err, char *msg);
|
||||
extern int httperr(struct conn_s *connptr, int err, const char *msg);
|
||||
|
||||
extern void makedaemon(void);
|
||||
extern void pidfile_create(const char *path);
|
||||
|
||||
Reference in new issue
Block a user