summaryrefslogtreecommitdiff
path: root/test_http_server.cc
diff options
context:
space:
mode:
authorDarin Petkov <petkov@chromium.org>2010-11-08 16:10:26 -0800
committerDarin Petkov <petkov@chromium.org>2010-11-08 16:10:26 -0800
commitf67bb1f187d7fcea38a33badf4bc619fc2e5c0fc (patch)
tree3c491fa1388c9f5509867c15c4119079bb71743f /test_http_server.cc
parent6d5dbf6458d55db480ebaa1b6fc3152631f722ad (diff)
AU: Change test http server port from 8080 to 8088.
This allows developers to run unit tests while the dev server is running. Also remove obsole test_http_server.py. BUG=8889 TEST=unit tests while dev server is running. Change-Id: Iaf0ff92edbb959d93bd206c0007455f637682e2c Review URL: http://codereview.chromium.org/4667002
Diffstat (limited to 'test_http_server.cc')
-rw-r--r--test_http_server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_http_server.cc b/test_http_server.cc
index de5c619c..6a919d5c 100644
--- a/test_http_server.cc
+++ b/test_http_server.cc
@@ -42,7 +42,7 @@ struct HttpRequest {
};
namespace {
-const int kPort = 8080; // hardcoded to 8080 for now
+const int kPort = 8088; // hardcoded for now
const int kBigLength = 100000;
const int kMediumLength = 1000;
}
@@ -262,7 +262,7 @@ using namespace chromeos_update_engine;
int main(int argc, char** argv) {
// Ignore SIGPIPE on write() to sockets.
signal(SIGPIPE, SIG_IGN);
-
+
socklen_t clilen;
struct sockaddr_in server_addr;
struct sockaddr_in client_addr;