Searched refs:SendClientError (Results 1 – 3 of 3) sorted by relevance
/system/connectivity/shill/ |
D | http_proxy.cc | 211 SendClientError(500, "Could not create socket to connect to server"); in ConnectServer() 221 SendClientError(502, string("Could not resolve hostname: ") + in GetDNSResult() 232 SendClientError(500, string("Socket connection delayed failure: ") + in OnConnectCompletion() 305 SendClientError(400, "I don't know what host you want me to connect to"); in ParseClientRequest() 314 SendClientError(400, "Too many colons in hostname"); in ParseClientRequest() 319 SendClientError(400, "Could not parse port number"); in ParseClientRequest() 338 SendClientError(502, "Could not resolve hostname: " + error.message()); in ParseClientRequest() 370 SendClientError(500, kInternalErrorMsg); in ProcessLastHeaderLine() 416 SendClientError(500, kInternalErrorMsg); in ReadClientHeaders() 452 SendClientError(500, kInternalErrorMsg); in ReadClientHostname() [all …]
|
D | http_proxy.h | 123 void SendClientError(int code, const std::string& error);
|
D | http_proxy_unittest.cc | 405 void SendClientError(int code, const string& error) { in SendClientError() function in shill::HTTPProxyTest 406 proxy_.SendClientError(code, error); in SendClientError() 546 TEST_F(HTTPProxyTest, SendClientError) { in TEST_F() argument 549 SendClientError(500, "This is an error"); in TEST_F()
|