summaryrefslogtreecommitdiff
path: root/src/HttpConnection.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-01 13:46:03 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-01 13:46:03 +0000
commit398d53f5f5073d6bc7d4ac788ea202281f766524 (patch)
treec28aed260915c3a06d0ec90912888bcff769b4d5 /src/HttpConnection.h
parentf670cdbba906c0d7a014e7d86026cb408b7eda30 (diff)
2008-09-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Use CookieStorage class instead of CookieBox class. Now CookieStorage accepts cookies from numeric host such as 192.168.1.1. * src/AbstractProxyRequestCommand.cc * src/CookieStorage.cc * src/DownloadEngine.cc * src/DownloadEngine.h * src/HttpConnection.cc * src/HttpConnection.h * src/HttpRequest.cc * src/HttpRequest.h * src/HttpRequestCommand.cc * src/HttpResponse.cc * src/HttpResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/Makefile.am * src/MultiUrlRequestInfo.cc * src/Request.cc * src/Request.h * src/main.cc * test/AllTest.cc * test/CookieStorageTest.cc * test/CookieTest.cc * test/HttpRequestTest.cc * test/HttpResponseTest.cc * test/Makefile.am * test/NsCookieParserTest.cc * test/Sqlite3MozCookieParserTest.cc * test/nscookietest.txt
Diffstat (limited to 'src/HttpConnection.h')
-rw-r--r--src/HttpConnection.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/HttpConnection.h b/src/HttpConnection.h
index 3a6a21c3..02ac19b4 100644
--- a/src/HttpConnection.h
+++ b/src/HttpConnection.h
@@ -109,14 +109,7 @@ public:
*/
SharedHandle<HttpResponse> receiveResponse();
- SharedHandle<HttpRequest> getFirstHttpRequest() const
- {
- if(outstandingHttpRequests.size() > 0) {
- return outstandingHttpRequests.front()->getHttpRequest();
- } else {
- return SharedHandle<HttpRequest>();
- }
- }
+ SharedHandle<HttpRequest> getFirstHttpRequest() const;
bool isIssued(const SharedHandle<Segment>& segment) const;
};