forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
First iteration of the HTTP client for cpp-netlib v1.0.0a#350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
105 commits Select commitHold shift + click to select a range
faade8a Cleaned up thread_pool so that I can read it more clearly.
glynos19a8b0f Started HTTP client rewriting by removing some redundant files.
glynos2b2c2d3 Removed a redundant header from the message framework.
glynose1bbd36 Removed basic_storage_* types that were not being used.
glynose888689 Removed some more redundant files.
glynosf169c24 Removed some more files that were not being used.
glynos297a773 Removed redundant tests.
glynos8bcce7a First commit of network::http::v2::client.
glynosfb7eecf Updated first set of HTTP client tests.
glynos6b51a82 Updated client_options tests.
glynos07e1e8e Moved some of the tests around; added class that will represent HTTP …
glynos4eac522 Added a some extra options for the client and the request; removed so…
glynos71757f1 Updated client sources, adding some more tests.
glynos73b0831 Added some additional tests for the HTTP URL.
glynos70a99a9 Added a message_base class.
glynos40e3b59 Added HTTP constants for client 1.0.x.
glynosf23c827 Updated and added HTTP constants.
glynos72ea85e Updated constants and message headers.
glynos06cd005 Updated build scripts so as not to build the old client and server; a…
glynos5ecb5c7 Next iteration of improvements, still a long way from a working HTTP …
glynos41f4ec2 Added a client_errors file and invalid_scheme class.
glynosb700bcc Added tests and methods to the HTTP request.
glynos6540a84 Added async_resolver.
glynos7f9f50e Added logging again to project.
glynosd653b4b Added connection_timeout exception.
glynos055e513 Added resolver_error.
glynos06b8b94 Added resolver delegate.
glynos5b82479 Added connection_delegate and test files (no test cases yet).
glynos88f6faf Removed message_base.hpp
glynos0610d08 Updated errors and the HTTP request.
glynosd9174e6 Updated method type.
glynos5e68836 Updated requests test to check the port number.
glynos83cca78 A few updates to the client - next step is to test the components ind…
glynosb0cdd9a Added igloo BDD-style feature testing framework.
glynos7bcf001 Moved the unit tests around.
glynosb895062 Async resolver tests now use igloo.
glynos85830b0 Updated feature tests for client and connections.
glynosdc2d4cb Updated some stuff that's not important.
glynos3faaa69 Updated Doxygen comments on almost all files. Added a response_parser…
glynos3442d76 Resolver now uses asynchronous futures.
glynosb80ab15 Little hack to make async connection test pass (it's actually synchro…
glynos22df4eb Done a lot of stuff to play around with HTTP - it successfully makes …
glynos7415d62 Updated the resolver to avoid using futures,as this turned to be very…
glynos8295fb8 Well these test all pass...
glynos8976b43 Updated response parser tests.
glynosebd7567 Updated tests for the response parser, added cancellation member func…
glynos6a7205e Mostly updates to documentation.
glynos3d0cc92 Some more, incomplete documentation.
glynosaf77702 Updates to some of the tests.
glynos40a2309 Renamed async_resolver_delegate, and removed some of the framework cr…
glynosbcd5554 Renamed connection_delegate.
glynos00654de Removed some unnecessary files.
glynos3382000 Replaced std::function handler with a template in async_resolver.
glynos41a1e67 Removed warnings from CMakeLists.txt files, because of the noise from…
glynosd100aaa Removed date_time from Boost_COMPONENTS because it is header-only in …
glynos8847a53 Renamed tests.
glynos4b1fd17 Rewrote constants.
glynosae2c6d8 Updated uri submodule.
glynos84a555b Reworked status and HTTP client request.
glynos603547c Modification to connection test.
glynos58a7782 Added an HTTP response error.
glynos9345bed Updated tests for the response_parser.
glynosbb006d6 Added free swap functions to client_options, request_options, request…
glynosb7e7aa5 Updated the connection and the connection tests.
glynos28ffad1 Minor refactoring in request, response, client.
glynos609ed29 Used macro NETWORK_NOEXCEPT instead of keyword noexcept.
glynosbb42b4f Fixed include guards.
glynos7a3e856 Updated uri submodule.
glynosd945654 Minor changes to the thread_pool class and headers.
glynose8d9262 Reverted changes where I used a macro for a noexcept replacement - we…
glynos74d99b8 Merge remote-tracking branch 'upstream/master' into client-v2
glynos0c85833 Updated tests for client.
glynos0739a4a Added some new HTTP status codes.
glynos184d278 Updated some HTTP client errors.
glynosd68fb57 Added a small project for generic network errors.
glynosd043072 Added doxygen documentation for error handling.
glynosb469278 Renamed concurrency library.
glynos4be2b5a Commented out stuff so the HTTP client test did not crash, at least.
glynos7afed49 Updated README documentation.
glynos695e074 Updated the Doxyfile.
glynos4373fc1 Updated error handling for general networking errors. Added a network…
glynosb02948f Replaced the Handler template with std::function.
glynos29ec7e2 Renamed base class connection to async_connection.
glynos416fe04 Added an endpoint_cache class; refactored async_resolver.
glynos58d5f94 Made async_resolver and ABC; added implementation in tcp_resolver.
glynos44b9185 Test fails with an exception instead of a crash - progress of a kind...
glynos2012b58 Fixed crash in HTTP client, 'get' now only returns an empty response.
glynosa8bad17 Continued to work on the HTTP client.
glynos619255a Updated the client and response classes in order to make a successful…
glynosce3bccf Validated that the HEAD response returns the headers.
glynos6eb8e03 Lower case enum for HTTP status code for consistency.
glynosb6c2bee Updated client errors and added code to allow the processing of a res…
glynos8f5ea83 Re-added and updated HTTP examples.
glynos5d8d744 Added .clang-format for source code formatting.
glynos6441091 Allow the v0.x HTTP server to be built; Refactored HTTP v2 client req…
glynosd5b65ee Refactored client connections into a client_connection namespace.
glynos23ef8d0 Fixed bug in parsing the HTTP headers in the HTTP client.
glynos6830eba Refactored internals of client.
glynos6ff897f Continued to refactor the HTTP client; made the method enum class low…
glynos1238f44 Continued to refactor and document the HTTP client source and tests.
glynos3e33f13 Continued refactoring, improved read_headers and simple_wget examples.
glynosa465cd8 Updated uri submodule.
glynos49310b1 Added a flag to turn on/off the feature tests, which may access the n…
glynosebc7762 Added .travis.yml
glynose639f47 Fixed some warnings in the HTTP client request and client_exception.
glynosFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
NextNext commit
Cleaned up thread_pool so that I can read it more clearly.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitfaade8a78c50e303e5269a0e285a96896aa2b1cd
There are no files selected for viewing
66 changes: 34 additions & 32 deletionsconcurrency/src/network/concurrency/thread_pool.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
156 changes: 75 additions & 81 deletionsconcurrency/src/network/concurrency/thread_pool.ipp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.