aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
Commit message (Collapse)AuthorAge
* Changing size type in Transport Security (TSI) from uint32_t to size_t:Gravatar Julien Boeuf2015-01-15
| | | | Will remove grpc impedance mismatch.
* clang-formatGravatar Craig Tiller2015-01-15
|
* () --> (void)Gravatar Craig Tiller2015-01-15
|
* Remove grpc_call_acceptGravatar Craig Tiller2015-01-15
|
* Merge pull request #33 from nicolasnoble/quietGravatar Craig Tiller2015-01-14
|\ | | | | Muting an extremely chatty log line.
| * Muting an extremely chatty log line.Gravatar Nicolas Noble2015-01-14
| |
* | Merge pull request #22 from dklempner/http_schemeGravatar Craig Tiller2015-01-14
|\ \ | |/ |/| Send a scheme of http or https as appropriate, rather than grpc.
| * 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.
* | 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.
* | Merge pull request #11 from ctiller/macGravatar Nicolas Noble2015-01-14
|\ \ | | | | | | Compile fix for mac
| * | Format changeGravatar Craig Tiller2015-01-13
| | |
* | | Fixing log_win32.cGravatar Nicolas "Pixel" Noble2015-01-13
| | |
* | | Fixing time.c for win32 - MIN_INT can't work with 0x80000000 under win32.Gravatar Nicolas "Pixel" Noble2015-01-13
| | |
| | * 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.
| * Merge github.com:google/grpc into macGravatar Craig Tiller2015-01-13
| |\ | |/ |/|
* | Merge github.com:ctiller/grpc into formatGravatar Craig Tiller2015-01-13
|\ \
* | | clang-format codebaseGravatar Craig Tiller2015-01-13
| | |
| | * Compile fix for macGravatar Craig Tiller2015-01-13
| |/ |/|
* | Merge pull request #4 from ctiller/vasprintGravatar yang-g2015-01-12
|\ \ | | | | | | Fix compile: check return value for error
| | * Merge github.com:google/grpcGravatar Craig Tiller2015-01-12
| | |\ | |_|/ |/| |
* | | Moving the google-internal security code in their own files.Gravatar jboeuf2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checked that the opensource version still builds. Just addressing core for now. We will do c++ later. Change on 2015/01/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83804014
* | | Factoring out []2 artefacts from the transport security interface.Gravatar jboeuf2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Looks like we should have cleaned this header before... I don't think it's a big deal though... - Removing the tests from the opensource package as well (these are very much [] specific for now). Change on 2015/01/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83801766
* | | 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
* | | Avoid clobbering potential defines that were set up externally.Gravatar nnoble2015-01-12
| | | | | | | | | | | | | | | | | | | | | Change on 2015/01/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83799744
| * | Check return value for errorGravatar Craig Tiller2015-01-12
|/ /
| * Merge github.com:google/grpcGravatar Craig Tiller2015-01-12
| |\ | |/ |/|
* | grpc census hash_table test coverage improvements.Gravatar hongyu2015-01-12
| | | | | | | | | | | | | | Change on 2015/01/12 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83786701
* | 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
* | Ensure flow control callbacks happen outside the transport lock.Gravatar ctiller2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Split encoding into two phases: a collection phase to decide on what is allowed (by flow control) to be sent, and a framing phase when the data is actually sent. Perform the second phase outside of the transport mutex (but serially, guarded by t->writing) and make flow control callbacks during that phase. This will allow us to make further transport level calls in response to flow control callbacks, and will be needed by the forthcoming async api for C++. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83774409
* | 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
* | 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
* | Grpc census: v0 trace_printf() implementation in C.Gravatar hongyu2015-01-12
| | | | | | | | | | | | | | Change on 2015/01/09 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83626942
* | 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
* | Don't log on EINTR.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=83469190
* | 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
| * Fix win32 build error.Gravatar Craig Tiller2015-01-09
|/
* Don't log on EINTR.Gravatar ctiller2015-01-08
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83469190
* 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
* Fixing include paths for cmdline.Gravatar nnoble2015-01-07
|
* Adding plugins to the mako rendering system.Gravatar nnoble2015-01-06
| | | | | | | Change on 2015/01/05 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83302581
* Have grpc_iomgr_work() adjust its poll deadline to account for the next alarm.Gravatar klempner2014-12-29
| | | | | | | | | This fixes _low_test.py, once we reverse CL 82686562 accidentally reducing poll timeouts to 1 us. Change on 2014/12/23 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82741776
* Provide a port of cpu related code to posix, and linux.Gravatar ctiller2014-12-29
| | | | | | | | Properly set this up in our build environment. Change on 2014/12/23 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82725899
* Fix poll kicking, unflaking _low_test.pyGravatar klempner2014-12-29
| | | | | | | Change on 2014/12/22 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82686562
* 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
* Adding support for service account credentials.Gravatar jboeuf2014-12-29
| | | | | | | | | | - Tested end to end with a JSON key I generated for my account using the fetch_oauth2 binary. - The same fetch_oauth2 binary can get a token from the GCE metadata service on a VM in cloud. Change on 2014/12/19 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82548689
* 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