Home
last modified time | relevance | path

Searched refs:HTTPProxy (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/shill/
Dhttp_proxy.cc56 const int HTTPProxy::kClientHeaderTimeoutSeconds = 1;
57 const int HTTPProxy::kConnectTimeoutSeconds = 10;
58 const int HTTPProxy::kDNSTimeoutSeconds = 5;
59 const int HTTPProxy::kDefaultServerPort = 80;
60 const int HTTPProxy::kInputTimeoutSeconds = 30;
61 const size_t HTTPProxy::kMaxClientQueue = 10;
62 const size_t HTTPProxy::kMaxHeaderCount = 128;
63 const size_t HTTPProxy::kMaxHeaderSize = 2048;
64 const int HTTPProxy::kTransactionTimeoutSeconds = 600;
66 const char HTTPProxy::kHTTPMethodConnect[] = "connect";
[all …]
Dhttp_proxy_unittest.cc177 HTTPProxy* proxy() { return &proxy_; } in proxy()
178 HTTPProxy::State GetProxyState() { in GetProxyState()
192 EXPECT_EQ(HTTPProxy::kDefaultServerPort, proxy_.server_port_); in ExpectClientReset()
214 EXPECT_EQ(HTTPProxy::kStateIdle, proxy_.state_); in ExpectReset()
263 ExpectTimeout(HTTPProxy::kClientHeaderTimeoutSeconds); in ExpectClientHeaderTimeout()
266 ExpectTimeout(HTTPProxy::kConnectTimeoutSeconds); in ExpectConnectTimeout()
269 ExpectTimeout(HTTPProxy::kInputTimeoutSeconds); in ExpectInputTimeout()
273 PostDelayedTask(_, HTTPProxy::kInputTimeoutSeconds * 1000)) in ExpectRepeatedInputTimeout()
277 ExpectTimeout(HTTPProxy::kTransactionTimeoutSeconds); in ExpectTransactionTimeout()
285 EXPECT_EQ(HTTPProxy::kStateFlushResponse, GetProxyState()); in ExpectClientError()
[all …]
Dhttp_proxy.h54 class HTTPProxy {
66 explicit HTTPProxy(ConnectionRefPtr connection);
67 virtual ~HTTPProxy();
134 base::WeakPtrFactory<HTTPProxy> weak_ptr_factory_;
170 DISALLOW_COPY_AND_ASSIGN(HTTPProxy);
Dservice.h56 class HTTPProxy; variable
894 std::unique_ptr<HTTPProxy> http_proxy_;
Dservice.cc815 http_proxy_.reset(new HTTPProxy(connection)); in SetConnection()