| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Remove more complicated sprintf usage from the libraries
|
| | |
|
| |\
| |/
|/| |
|
|\ \ |
|
| | |\
| |_|/
|/| | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Remove uses of sprintf
|
| | | | |
|
| |_|/
|/| | |
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | | |
|
|/ / |
|
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|/| |
|
|\ \
| | |
| | | |
Add an optional server shutdown event.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
|/ /
| |
| |
| |
| | |
The client should return status deadline exceeded when the deadline is
exceeded (not cancelled status)
|
|/|
| |
| |
| |
| |
| |
| | |
Conflicts:
src/core/surface/call.c
test/core/end2end/tests/thread_stress.c
tools/run_tests/run_tests.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This prevents mismatches from breaking tests.
|
| |
| |
| |
| | |
So that later cancellations do not clobber status.
|
| |
| |
| |
| | |
This prevents mismatches from breaking tests.
|
| |
| |
| |
| | |
So that later cancellations do not clobber status.
|
| |
| |
| |
| | |
Otherwise we can cause segfaults down in the client_channel.
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |\
| |/
|/| |
|
| |
| |
| |
| |
| | |
I'd started some prototyping work on this change before the move to
GitHub; this change restores things.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Change on 2015/01/07 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83451760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Change on 2014/12/19 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82527952
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|