aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/test/llhttpclient_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/test/llhttpclient_tut.cpp')
-rw-r--r--linden/indra/test/llhttpclient_tut.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/test/llhttpclient_tut.cpp b/linden/indra/test/llhttpclient_tut.cpp
index 7918205..77f1e25 100644
--- a/linden/indra/test/llhttpclient_tut.cpp
+++ b/linden/indra/test/llhttpclient_tut.cpp
@@ -34,6 +34,10 @@
34 34
35#include <tut/tut.h> 35#include <tut/tut.h>
36#include "linden_common.h" 36#include "linden_common.h"
37
38// These are too slow on Windows to actually include in the build. JC
39#if !LL_WINDOWS
40
37#include "lltut.h" 41#include "lltut.h"
38#include "llhttpclient.h" 42#include "llhttpclient.h"
39#include "llformat.h" 43#include "llformat.h"
@@ -98,7 +102,7 @@ namespace tut
98 102
99 void setupTheServer() 103 void setupTheServer()
100 { 104 {
101 LLHTTPNode& root = LLCreateHTTPServer(mPool, *mServerPump, 8888); 105 LLHTTPNode& root = LLIOHTTPServer::create(mPool, *mServerPump, 8888);
102 106
103 LLHTTPStandardServices::useServices(); 107 LLHTTPStandardServices::useServices();
104 LLHTTPRegistrar::buildAllServices(root); 108 LLHTTPRegistrar::buildAllServices(root);
@@ -333,4 +337,7 @@ namespace tut
333 LLSD body = result["body"]; 337 LLSD body = result["body"];
334 ensure_equals("echoed result matches", body.size(), expected.size()); 338 ensure_equals("echoed result matches", body.size(), expected.size());
335 } 339 }
340
336} 341}
342
343#endif // !LL_WINDOWS