aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
Commit message (Collapse)AuthorAge
* 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
| |
| * Merge github.com:google/grpc into bprintfGravatar Craig Tiller2015-01-23
| |\ | |/ |/|
* | Merge github.com:google/grpc into kill-more-printfGravatar Craig Tiller2015-01-23
|\ \
| | * Merge branch 'kill-more-printf' into bprintfGravatar Craig Tiller2015-01-23
| | |\ | |_|/ |/| |
* | | Use symbolic constantGravatar Craig Tiller2015-01-23
| | |
| * | Merge pull request #179 from ctiller/kill-printfGravatar jboeuf2015-01-23
| |\ \ | | | | | | | | Remove uses of sprintf
| | | * Add out-param to signal length of bufferGravatar Craig Tiller2015-01-23
| | | |
| | | * Remove uses of sprintfGravatar Craig Tiller2015-01-23
| |_|/ |/| |
* | | Remove uses of sprintfGravatar Craig Tiller2015-01-23
| | |
* | | Merge branch 'kill-printf' into kill-more-printfGravatar Craig Tiller2015-01-23
|\ \ \ | | |/ | |/|
| * | Move string.h to internal codeGravatar Craig Tiller2015-01-23
| | |
* | | Remove use of printfGravatar Craig Tiller2015-01-23
|/ /
| * Merge branch 'new_invoke_api' of github.com:google/grpc into update-apiGravatar Craig Tiller2015-01-20
|/| | | | | | | | | | | | | | | | | Conflicts: src/cpp/client/channel.cc src/cpp/stream/stream_context.cc src/cpp/stream/stream_context.h src/php/ext/grpc/call.c test/core/end2end/tests/max_concurrent_streams.c
* | Use clang-format-3.5Gravatar Craig Tiller2015-01-18
| |
| * Merge branch 'new_invoke_api' of github.com:google/grpc into update-apiGravatar Craig Tiller2015-01-16
|/|
* | Merge pull request #88 from ctiller/shutdownGravatar Yang Gao2015-01-16
|\ \ | | | | | | Add an optional server shutdown event.
| * | Add an optional server shutdown event.Gravatar Craig Tiller2015-01-16
| | | | | | | | | | | | | | | | | | Allows servers to expedite shutdown once all in-progress calls are completed. We may want to eventually remove grpc_server_shutdown in preference to this.
* | | Indent fixGravatar Craig Tiller2015-01-16
| | |
* | | Fix returned statusGravatar Craig Tiller2015-01-16
|/ / | | | | | | | | The client should return status deadline exceeded when the deadline is exceeded (not cancelled status)
| * Merge branch 'new_invoke_api' of github.com:google/grpc into updateGravatar Craig Tiller2015-01-15
|/| | | | | | | | | | | | | Conflicts: src/core/surface/call.c test/core/end2end/tests/thread_stress.c tools/run_tests/run_tests.py
* | () --> (void)Gravatar Craig Tiller2015-01-15
| |
* | Remove grpc_call_acceptGravatar Craig Tiller2015-01-15
| |
| * Initialize start_okGravatar Craig Tiller2015-01-14
| |
| * Remove grpc_call_start_invokeGravatar Craig Tiller2015-01-14
| |
| * Fix refcounting bugGravatar Craig Tiller2015-01-14
| |
* | Muting an extremely chatty log line.Gravatar Nicolas Noble2015-01-14
| |
| * clang-formatGravatar Craig Tiller2015-01-14
| |
* | clang-formatGravatar Craig Tiller2015-01-14
| |
* | Update C++ code to set status via the C api.Gravatar Craig Tiller2015-01-14
| | | | | | | | This prevents mismatches from breaking tests.
* | Use the first received status as authoritative.Gravatar Craig Tiller2015-01-14
| | | | | | | | So that later cancellations do not clobber status.
| * Update C++ code to set status via the C api.Gravatar Craig Tiller2015-01-14
| | | | | | | | This prevents mismatches from breaking tests.
| * Use the first received status as authoritative.Gravatar Craig Tiller2015-01-13
| | | | | | | | So that later cancellations do not clobber status.
| * Only request more data once stream is connected.Gravatar Craig Tiller2015-01-13
| | | | | | | | Otherwise we can cause segfaults down in the client_channel.
| * Calls are always started on the server.Gravatar Craig Tiller2015-01-13
| | | | | | | | | | By the time we call accept, we have proof that we've received the start of a call, so we should set this bit to one.
| * clang-format codebaseGravatar Craig Tiller2015-01-13
| |
| * Merge github.com:google/grpc into apiGravatar Craig Tiller2015-01-13
| |\ | |/ |/|
| * Moving prototype from Google to GitHubGravatar Craig Tiller2015-01-13
| | | | | | | | | | I'd started some prototyping work on this change before the move to GitHub; this change restores things.
* | clang-format codebaseGravatar Craig Tiller2015-01-13
| |
* | Return bound port number from grpc_server_add_http2_port.Gravatar ctiller2015-01-12
| | | | | | | | | | | | | | | | Allows tests to bind to port 0 and still have clients connect to them. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83800669
* | Add ServiceAccount Credentials wrapping and handle credentials creationGravatar yangg2015-01-12
|/ | | | | | | | failure. Change on 2015/01/09 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83634736
* 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
* Pre allocate client side strings per channel for method, scheme, path, andGravatar klempner2014-12-19
| | | | | | | | | | authority. For method and scheme, move these from channel to http_client_filter. Change on 2014/12/19 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82536909
* Don't allow trailing metadata from the client.Gravatar ctiller2014-12-19
| | | | | | | Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82527952
* Introduce the (outside-of-iomgr) pollset API.Gravatar ctiller2014-12-19
| | | | | | | | | | | | | This CL introduces the public side of this interface. There will need to be an iomgr-private API also, but this will be a per-implementation API and so is not covered here. I've taken care of wiring the interface through the codebase in the manner that I expect it will be used. Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82376987
* 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
* Make alarm initialization take a timespec now.Gravatar ctiller2014-12-16
| | | | | | | | | This will allow combining of gpr_now() calls, and make it easier to test the alarm code in the future. Change on 2014/12/16 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82246768
* Trailing metadata support.Gravatar ctiller2014-12-16
| | | | | | | | | Actually exposing it from the C API. Also removing grpc_status, since it's mostly useless. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82180546