summaryrefslogtreecommitdiff
path: root/test/httpserver
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-04-09 22:45:34 +0000
committerChris Wilson <chris+github@qwirx.com>2009-04-09 22:45:34 +0000
commit3f4672f25c21c95d81656ad561b613a5192fe0b4 (patch)
tree09937a68ef6f6d6ddc8c33093c39d6c7ce02672f /test/httpserver
parenta3136e31a7b3cca64918b142e10e57d1f956ee2b (diff)
Fix compile error due to misisng signals on Windows. httpserver test
still does not pass.
Diffstat (limited to 'test/httpserver')
-rw-r--r--test/httpserver/testhttpserver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/httpserver/testhttpserver.cpp b/test/httpserver/testhttpserver.cpp
index c38ef8fe..1dd4e3e8 100644
--- a/test/httpserver/testhttpserver.cpp
+++ b/test/httpserver/testhttpserver.cpp
@@ -358,7 +358,9 @@ int test(int argc, const char *argv[])
// Run the request script
TEST_THAT(::system("perl testfiles/testrequests.pl") == 0);
+ #ifndef WIN32
signal(SIGPIPE, SIG_IGN);
+ #endif
SocketStream sock;
sock.Open(Socket::TypeINET, "localhost", 1080);