|
From: <mik...@us...> - 2004-01-01 10:44:15
|
Update of /cvsroot/sharedaemon/sharedaemon-ui-web/src/server/http
In directory sc8-pr-cvs1:/tmp/cvs-serv9267/src/server/http
Modified Files:
HttpSocket.h HttpSocket.cpp
Log Message:
01/01/2004 Mikael Barbeaux
* HAPPY NEW YEAR !!!! :P
* Started to implement http processing code.
Index: HttpSocket.h
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/src/server/http/HttpSocket.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- HttpSocket.h 26 Dec 2003 22:56:41 -0000 1.1
+++ HttpSocket.h 1 Jan 2004 10:44:12 -0000 1.2
@@ -23,6 +23,7 @@
#include "../network/Socket.h"
#include "../../exceptions/SocketException.h"
#include "../../exceptions/WriterException.h"
+#include "../../exceptions/HttpException.h"
#include "HttpRequest.h"
#include "HttpResponse.h"
@@ -72,7 +73,7 @@
* @param HttpRequest
*/
void receiveHttpRequest(HttpRequest& request)
- throw (SocketException);
+ throw (SocketException, HttpException);
/**
* Send the HttpResponse of this socket.
Index: HttpSocket.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/src/server/http/HttpSocket.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- HttpSocket.cpp 26 Dec 2003 22:56:41 -0000 1.1
+++ HttpSocket.cpp 1 Jan 2004 10:44:12 -0000 1.2
@@ -47,7 +47,7 @@
* parse the data to build the associated http request.
*/
void HttpSocket::receiveHttpRequest(HttpRequest& request)
- throw (SocketException) {
+ throw (SocketException, HttpException) {
// Get the data from the client
char *data = new char;
receive(&data);
|