diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-18 11:34:52 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-18 11:34:52 +0000 |
commit | 72a5bfb5bef0946f92d935990b17c0bb0c69f9ae (patch) | |
tree | 049314ccaa92fbdf40f1af1f01c3f7123ac705e8 /src/Server.c | |
parent | 7d29b42986d5c0af3846831923b52d36e310d8c1 (diff) |
All reading from socket is now done with HTTP_Read. HTTP_Read and HTTP_Write
now both live in Sockets.c.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@40 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Server.c')
-rw-r--r-- | src/Server.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Server.c b/src/Server.c index ba6f071..d3d865d 100644 --- a/src/Server.c +++ b/src/Server.c @@ -188,29 +188,6 @@ int HTTP_RegisterPage(const char *path, int (*function)(cGH *, httpRequest *, vo return 0; } - /*@@ - @routine HTTP_Write - @date Fri Sep 15 18:47:41 2000 - @author Tom Goodale - @desc - Writes part or all of an HTTP reply. - @enddesc - @calls - @calledby - @history - - @endhistory - -@@*/ -int HTTP_Write(httpRequest *request, const char *buffer, size_t count) -{ - int retval; - - /* Currently don't do anything fancy. */ - retval = write(request->filedes, buffer, count); - - return retval; -} /*@@ @routine HTTP_UpdateState |