Skip to content

Commit

Permalink
fixed the method of reading chunked content.
Browse files Browse the repository at this point in the history
  • Loading branch information
Terushi Arakawa committed Nov 26, 2012
1 parent c63a84a commit 8da41e0
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 356 deletions.
8 changes: 1 addition & 7 deletions Src/Connection/WebClient/WebClient.hpp
Expand Up @@ -137,14 +137,8 @@ class GOOGLEPLUSLIBRARY_API WebClient
void handleReadContent(const boost_error_code& error, size_t bytes_transferred); void handleReadContent(const boost_error_code& error, size_t bytes_transferred);


void startReadChunkedContent(); void startReadChunkedContent();

void handleReadChunkSize(const boost_error_code& error, size_t bytes_transferred); void handleReadChunkSize(const boost_error_code& error, size_t bytes_transferred);
void handleReadChunkSize2(const boost_error_code& error, size_t bytes_transferred); void handleReadChunkData(const boost_error_code& error, size_t bytes_transferred);
void handleReadEndSize(const boost_error_code& error, size_t bytes_transferred);
void handleReadEndLine(const boost_error_code& error, size_t bytes_transferred);
void handleReadChunkedContent(const boost_error_code& error, size_t bytes_transferred);
void handleReadChunkedContent2(const boost_error_code& error, size_t bytes_transferred);
void handleReadChunkedContent3(const boost_error_code& error, size_t bytes_transferred);
private: private:
std::shared_ptr<boost::asio::io_service> io_service_ptr_; std::shared_ptr<boost::asio::io_service> io_service_ptr_;
boost::asio::io_service& io_service_; boost::asio::io_service& io_service_;
Expand Down

0 comments on commit 8da41e0

Please sign in to comment.