aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel
Commit message (Collapse)AuthorAge
...
* Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-01-29
|\ | | | | | | | | Conflicts: test/core/echo/echo_test.c
| * Re-enabling errors on warning, disabling unused parameter warning, and ↵Gravatar Nicolas "Pixel" Noble2015-01-30
| | | | | | | | fixing all subsequent errors.
* | Fix uninitialized valueGravatar Craig Tiller2015-01-29
| |
* | Fix uninitialized value, namingGravatar Craig Tiller2015-01-29
| |
* | First compiling version of the new C api.Gravatar Craig Tiller2015-01-27
|/
* sync up with masterGravatar Yang Gao2015-01-27
|\
| * Fix compileGravatar Craig Tiller2015-01-27
| |
| * Merge github.com:google/grpc into javascriptGravatar Craig Tiller2015-01-27
| |\
* | | run clang-formatGravatar Yang Gao2015-01-26
| | |
| | * Merge branch 'kill-more-printf' into bprintfGravatar Craig Tiller2015-01-23
| | |\
| | | * Add missing freeGravatar Craig Tiller2015-01-23
| |_|/ |/| |
| | * Merge branch 'kill-more-printf' into bprintfGravatar Craig Tiller2015-01-23
| | |\ | |_|/ |/| |
* | | Use symbolic constantGravatar Craig Tiller2015-01-23
| | |
| | * 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 sprintfGravatar Craig Tiller2015-01-23
|/ /
| * clang-formatGravatar Craig Tiller2015-01-23
| |
| * Allocate the correct amount of memoryGravatar Craig Tiller2015-01-21
| |
| * Actually serve up contentGravatar Craig Tiller2015-01-21
| |
| * Initialize some membersGravatar Craig Tiller2015-01-21
| |
| * Allow null copy/destroy functionsGravatar Craig Tiller2015-01-21
| |
| * First pass API for serving static dataGravatar Craig Tiller2015-01-21
| |
| * Allow sending preformatted messagesGravatar Craig Tiller2015-01-21
| |
| * Add a simple GET handlerGravatar Craig Tiller2015-01-21
| |
| * Add knowledge of :method GETGravatar Craig Tiller2015-01-21
| |
| * Add helpers for SEND_FINISHGravatar Craig Tiller2015-01-21
| |
| * Make send/recv_metadata take ownership of passed in metadataGravatar Craig Tiller2015-01-21
| |
| * Capture :path, and send it separatelyGravatar Craig Tiller2015-01-21
|/
* Merge pull request #107 from ctiller/externGravatar Nicolas Noble2015-01-20
|\ | | | | Add extern where its required
| * Add extern where its requiredGravatar Craig Tiller2015-01-19
| |
* | Use clang-format-3.5Gravatar Craig Tiller2015-01-18
|/
* Review changes for :scheme conversion to http[s]Gravatar David Klempner2015-01-14
| | | | | | 1. scheme_from_args should return const char* 2. Rename grpc.scheme arg to grpc.http2_scheme, and define a macro for it.
* Send a scheme of http or https as appropriate, rather than grpc.Gravatar David Klempner2015-01-13
| | | | | | This requires additional logic to determine whether to send http or https. This change assumes a default of http, and plumbs down https through a synthesized channel arg when using the ssl transport.
* clang-format codebaseGravatar Craig Tiller2015-01-13
|
* Pre-allocate, check, and consume method, scheme, and content-type headers atGravatar ctiller2015-01-12
| | | | | | | | | | | | | | | | | | the server. Verify that method, scheme, and te trailers are present, and error out if not. Complain if content-type doesn't match the format, but don't error out. This currently, for now, blindly allows all three schemes (grpc, http, https) without verification, although that will change once the C implementation finishes switching to http/https. Cloned from CL 82558661 by 'g4 patch'. Original change by klempner@klempner:grpc_metadata:808:citc on 2014/12/19 18:41:47. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83785251
* Allow logging mechanism to be overridden by applications.Gravatar ctiller2015-01-12
| | | | | | | | This necessitated the removal of gpr_vlog to keep a clean interface. Change on 2015/01/09 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83634996
* C implementation of Census trace store and stats store for grpc C lib.Gravatar hongyu2015-01-09
| | | | | | | Change on 2015/01/08 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83556470
* 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
* Port [] alarm management to GRPC.Gravatar ctiller2014-12-29
| | | | | | | | | | | | | This change implements a platform independent alarm manager in alarm.c. It's integrated with iomgr, and some tests are cleaned up. The alarm implementation itself is a fairly direct port of LazyAlarmList from eventmanager. SpinLock has been replaced for now with gpr_mu, and other atomic operations have been dropped (again, for now). A majority of tests have been ported. Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82551363
* 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
* Properly handle cancellation during downwards propagation.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=82395253
* 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
* 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
* GOAWAY & Reconnection support.Gravatar ctiller2014-12-15
| | | | | | | | | | | | Clients stay connected to a server after it shutdowns until all active calls have completed, and then they drop. After a GOAWAY or a disconnect, clients will attempt to re-resolve and reconnect to the server. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82178515
* Simplify alarm API.Gravatar ctiller2014-12-15
| | | | | | | | | This change removes a corner case that needs to be handled (what happens if you add an alarm twice?). This corner case was never used, nor tested. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168179