2014-03-18 22:57:32 +00:00
|
|
|
diff --git a/src/third_party/happyhttp/src/test.cpp b/src/third_party/happyhttp/src/test.cpp
|
2013-12-03 18:48:33 +00:00
|
|
|
index f3d39d1..3ce74b4 100644
|
2014-03-18 22:57:32 +00:00
|
|
|
--- a/src/third_party/happyhttp/src/test.cpp
|
|
|
|
+++ b/src/third_party/happyhttp/src/test.cpp
|
2013-12-03 18:48:33 +00:00
|
|
|
@@ -31,7 +31,7 @@ void Test1()
|
|
|
|
{
|
|
|
|
puts("-----------------Test1------------------------" );
|
|
|
|
// simple simple GET
|
|
|
|
- happyhttp::Connection conn( "www.scumways.com", 80 );
|
|
|
|
+ happyhttp::Connection conn( "scumways.com", 80 );
|
|
|
|
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
|
|
|
|
|
|
|
|
conn.request( "GET", "/happyhttp/test.php", 0, 0,0 );
|
|
|
|
@@ -57,7 +57,7 @@ void Test2()
|
|
|
|
|
|
|
|
const char* body = "answer=42&name=Bubba";
|
|
|
|
|
|
|
|
- happyhttp::Connection conn( "www.scumways.com", 80 );
|
|
|
|
+ happyhttp::Connection conn( "scumways.com", 80 );
|
|
|
|
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
|
|
|
|
conn.request( "POST",
|
|
|
|
"/happyhttp/test.php",
|
|
|
|
@@ -77,7 +77,7 @@ void Test3()
|
|
|
|
const char* params = "answer=42&foo=bar";
|
|
|
|
int l = strlen(params);
|
|
|
|
|
|
|
|
- happyhttp::Connection conn( "www.scumways.com", 80 );
|
|
|
|
+ happyhttp::Connection conn( "scumways.com", 80 );
|
|
|
|
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
|
|
|
|
|
|
|
|
conn.putrequest( "POST", "/happyhttp/test.php" );
|