aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/httpcli
Commit message (Collapse)AuthorAge
* Clean up handshaking server channels properlyGravatar yang-g2015-07-15
|
* Merge branch 'master' of github.com:grpc/grpc into jwt_verifierGravatar Julien Boeuf2015-07-08
|\
| * Refcounting fixes and debugging, empty batch stability fixesGravatar Craig Tiller2015-07-01
| |
* | Adding JWT verifier.Gravatar Julien Boeuf2015-06-30
|/ | | | | | | Still missing: - Caching of the already checked JWTs (although it could be done at an upper layer). - Caching of the jwks_uri to avoid 2 roundtrips for each verification.
* DocsGravatar Craig Tiller2015-06-18
|
* Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-06-06
|\ | | | | | | | | | | Conflicts: test/core/bad_client/bad_client.c test/core/httpcli/httpcli_test.c
* | Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-06-04
|\| | | | | | | | | Conflicts: tools/doxygen/Doxyfile.core.internal
| * Expose gpr_asprintf and gpr_strdupGravatar Masood Malekghassemi2015-06-03
| |
* | Properly integrate credentials metadata deliveryGravatar Craig Tiller2015-06-01
| |
* | Rephrase integration for httpcliGravatar Craig Tiller2015-06-01
| |
* | Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-05-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core/surface/call.c test/core/end2end/dualstack_socket_test.c test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c test/core/end2end/tests/early_server_shutdown_finishes_tags.c test/core/end2end/tests/graceful_server_shutdown.c test/core/end2end/tests/invoke_large_request.c test/core/end2end/tests/max_concurrent_streams.c test/core/end2end/tests/max_message_length.c test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c test/core/end2end/tests/request_response_with_metadata_and_payload.c test/core/end2end/tests/request_response_with_payload.c test/core/end2end/tests/request_response_with_payload_and_call_creds.c test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c test/core/end2end/tests/request_with_large_metadata.c test/core/end2end/tests/request_with_payload.c test/core/httpcli/httpcli_test.c tools/run_tests/run_tests.py
| * Remove all uses of __FUNCTION__Gravatar Craig Tiller2015-05-24
| |
* | clang-format some filesGravatar Craig Tiller2015-05-13
| |
* | More plumbing work through creds frameworkGravatar Craig Tiller2015-05-11
| |
* | Wire up google_default_credentials/http_cliGravatar Craig Tiller2015-05-08
|/
* Refactoring of core security to remove the factories.Gravatar Julien Boeuf2015-04-17
| | | | | - Renamed security_context -> security_connector. - Credentials are now responsible for creating their own connectors.
* Shutting off warnings about control paths.Gravatar Nicolas "Pixel" Noble2015-04-01
|
* Guard headers tool.Gravatar Nicolas "Pixel" Noble2015-03-01
|
* Added support for default credentials.Gravatar Julien Boeuf2015-02-21
| | | | | | | | | - Tested with new tool (print_default_creds_token) on: - workstation for env var and well known place. - GCE for compute engine default creds. - I'd prefer the grpc_default_credentials_create() API to remain synchronous even though there may be an async call for gce detection on which we block.
* Removing the hardcoded SSL roots.Gravatar Julien Boeuf2015-02-20
| | | | | | - Makes 2 tests fail: - httpcli_test - interop_test
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* Adding call host (:authority header) check in the secure channel.Gravatar Julien Boeuf2015-02-10
| | | | | | | - Fixes #405. - This change is not tested as it should (only end to end and no negative testing). Will do better when we have testing framework for filters.
* Fix a memory leak.Gravatar Yang Gao2015-02-02
|
* Merge pull request #188 from ctiller/bprintfGravatar Nicolas Noble2015-01-26
|\ | | | | Remove more complicated sprintf usage from the libraries
* | Fixing a few winsocket misuses.Gravatar Nicolas "Pixel" Noble2015-01-24
| |
| * Remove use of vsprintfGravatar Craig Tiller2015-01-23
|/
* Move string.h to internal codeGravatar Craig Tiller2015-01-23
|
* clang-format codebaseGravatar Craig Tiller2015-01-13
|
* Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
* Remove libevent.Gravatar ctiller2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Allow overriding httpcli behavior by tests.Gravatar ctiller2014-12-19
| | | | | | | Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82379331
* Remove endpoint/ directories.Gravatar ctiller2014-12-17
| | | | | | | | | | Fold endpoint interface into iomgr, move secure_endpoint into security/. This will make it easier for endpoint to rely on some iomgr defined types (like pollset). Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82338036
* Introducing iomgr.Gravatar ctiller2014-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move eventmanager and platform dependent endpoint functionality into a single library called 'iomgr'. This is primarily to prepare for a Windows port - where posix socket semantics lead to poor quality code. Mostly this is a code movement CL, with some small changes to help prepare the way for porting: - em style fd objects can only be held internally in iomgr, and own their memory - added grpc_iomgr_create_endpoint_pair() to accomodate the common pattern of creating a tcp endpoint from the output of socketpair - this will help keep our tests portable - separated em alarm interface into a separate file, as this part of event manager is needed higher up the stack - made the eventmanager bits a true singleton, simplifying API's across the stack as there's no longer a reason to carry a pointer there. Initial design document is here: https://docs.google.com/document/d/1VmafcHvvrP5kwtQkz84R5yXF7u7fW-9Pn0bkSUQHDt8/edit?disco=AAAAARNByxg Change on 2014/12/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81716456
* Initial import.Gravatar Nicolas Noble2014-11-26