Sree Kuchibhotla
9083ee1344
Merge branch 'master' into fix-end2end-test
2017-07-31 12:04:38 -07:00
Alexander Polcyn
088e85ca64
add comment and test for memory api of grpc_call_cancel_with_status
2017-07-28 16:07:16 -07:00
yang-g
7d6b914f98
Change return type to bool
2017-07-28 12:49:40 -07:00
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
2017-07-28 12:49:40 -07:00
Muxi Yan
7b11719876
fix Bazel build
2017-07-27 15:33:16 -07:00
Muxi Yan
68760439e7
Resolve performance
2017-07-27 15:11:15 -07:00
Muxi Yan
eaa06ca708
fix test configuration
2017-07-27 10:09:37 -07:00
Muxi Yan
0603895423
Merge remote-tracking branch 'upstream/master' into stream_compression_config
2017-07-26 17:02:31 -07:00
Muxi Yan
df174ccd69
bug fix
2017-07-26 16:57:18 -07:00
Mark D. Roth
5794061764
Improvements to grpc_byte_stream API and handling.
...
- Add shutdown() method (to be used in forthcoming call combiner code).
- Use a vtable instead of storing method pointers in each instance.
- Check all callers of pull() to make sure that they are properly
handling errors.
- Clarify ownership rules and attempt to adhere to them.
- Added a new grpc_caching_byte_stream implementation, which is used in
http_client_filter to avoid having to read the whole send_message byte
stream before passing control down the stack. (This class may also be
used in the retry code I'm working on separately.)
- As part of this, did a major rewrite of http_client_filter, which
made the code more readable and fixed a number of potential bugs.
Note that some of this code is hard to test right now, due to the fact
that the send_message byte stream is always a slice_buffer stream, for
which next() is always synchronous and no destruction is needed.
However, some future work (specifically, my call combiner work and
Craig's incremental send work) will start leveraging this.
2017-07-26 14:29:52 -07:00
Muxi Yan
68a0fd5416
Separate stream compression from message-wise compression
2017-07-26 14:20:01 -07:00
Sree Kuchibhotla
fc58bd827e
Fix streaming_error_response test (failing in epoll1 but bug is not related to epoll1)
2017-07-26 00:02:41 -07:00
Sree Kuchibhotla
59beeff531
Merge branch 'master' into fix_alarm
2017-07-25 14:08:33 -07:00
yang-g
59ef64898a
Adding exec_ctx to avl vtable functions
2017-07-25 07:45:23 -07:00
Yuchen Zeng
9511aefaa9
Merge pull request #11786 from y-zeng/fd_orphan
...
Support closed fd in grpc_fd_orphan()
2017-07-24 11:32:22 -07:00
Mark D. Roth
a07413368d
Merge pull request #11733 from markdroth/security_api_cleanup
...
Change security interfaces to better handle both sync and async cases.
2017-07-24 10:03:22 -07:00
Muxi Yan
c97fc14a0e
Revert "Stream compression configuration"
...
This reverts commit a4dc077d3c .
2017-07-21 16:23:08 -07:00
Craig Tiller
39af3361ae
Merge github.com:grpc/grpc into stats
2017-07-21 16:06:48 -07:00
Yash Tibrewal
781fd6f6ea
Merge pull request #11884 from yashykt/connect-auth
...
HTTP CONNECT Auth support
2017-07-21 15:55:38 -07:00
Mark D. Roth
e0778b2c18
Add cancellation to asynchronous security APIs.
2017-07-21 15:42:00 -07:00
Yash Tibrewal
d0c1e50ea9
Changing a few variable names and adding few safety conditions
2017-07-21 12:34:38 -07:00
Yash Tibrewal
c62ce80b80
Test credentials are passed with channel arg. Renamed macros and refactored code as per suggestions. Renamed test to proxy_auth and changed it to use simple_request instead of a payload.
2017-07-20 16:48:01 -07:00
Yash Tibrewal
78d7125017
Removing a few style issues
2017-07-19 16:33:16 -07:00
Yash Tibrewal
ad11680be7
remove unnecessary code
2017-07-19 11:00:22 -07:00
Yash Tibrewal
c59ef5e451
Merged latest commit from upstream
2017-07-19 10:40:17 -07:00
Yash Tibrewal
f7350ea6b7
Adding connect auth feature. Proxy-Authorization header is being inserted when user creds are present in uri
2017-07-19 10:26:41 -07:00
Craig Tiller
280866817f
Add a simple stats framework to gRPC C core
2017-07-18 14:22:19 -07:00
Yuchen Zeng
d40a7ae6c3
Add already_closed in grpc_fd_orphan
2017-07-17 17:52:15 -07:00
Sree Kuchibhotla
acbdc796fb
Merge branch 'master' into sreek-epoll1
2017-07-17 14:58:18 -07:00
Muxi Yan
0086d02161
Merge pull request #11189 from muxi/stream_compression
...
Implement stream compression lib module
2017-07-17 11:10:41 -07:00
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
Vijay Pai
fd82a6cb4f
Merge pull request #11145 from vjpai/inproc3
...
In-process transport
2017-07-15 20:05:26 -07:00
jboeuf
29d472303d
Merge pull request #10827 from jboeuf/max_token_lifetime_cpp
...
Better handling of token lifetime.
2017-07-14 16:56:03 -07:00
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
2017-07-14 16:23:54 -07:00
Sree Kuchibhotla
1228237a3b
Merge branch 'master' into sreek-epoll1
2017-07-14 15:33:27 -07:00
Julien Boeuf
da8eca56e2
Better handling of token lifetime.
...
- In C++, we need a constant for the max lifetime.
- In C, make sure that we crop the lifetime in the credentials object
itself and not just later during the creation of the token. This will
allow the refresh to occur based on the actual token lifetime as opposed
to the one from the user (which may be cropped).
2017-07-13 21:58:01 -07:00
Sree Kuchibhotla
ce47215063
Merge branch 'master' into sreek-epoll1
2017-07-13 18:36:05 -07:00
Craig Tiller
41690d1ad8
Detach ownership of core/c++
2017-07-13 16:16:13 -07:00
Craig Tiller
abcdfc9676
Merge pull request #11803 from ctiller/spin-init
...
Add a test of repeatedly calling grpc_init then grpc_shutdown
2017-07-13 14:25:31 -07:00
Nicolas Noble
9877189e45
Merge pull request #11310 from nicolasnoble/import
...
Import mutations.
2017-07-13 13:39:58 -07:00
Craig Tiller
e251fbac20
clang-format
2017-07-13 10:41:17 -07:00
Craig Tiller
a7e5a0bd9c
Add a test of repeatedly calling grpc_init then grpc_shutdown
2017-07-13 10:17:11 -07:00
Craig Tiller
e4985cbbb7
Add test tree owners for C/C++
2017-07-13 10:11:42 -07:00
Muxi Yan
59827dd739
generate project
2017-07-12 14:04:30 -07:00
Muxi Yan
121e789f1d
Add tests
2017-07-12 14:04:30 -07:00
Muxi Yan
a4dc077d3c
Stream compression configuration
2017-07-12 14:04:30 -07:00
Sree Kuchibhotla
ce5747f96f
Merge branch 'enable-epoll1' of https://github.com/ctiller/grpc into ctiller-enable-epoll1
2017-07-12 14:00:19 -07:00
Craig Tiller
37691e7393
Merge pull request #11317 from ctiller/cq-drop
...
Change kicking strategy in cq
2017-07-12 13:42:27 -07:00
Mark D. Roth
ca0b8084bd
Merge pull request #11409 from annasapek/asynch-tsi-fake-handshaker
...
Update tsi_fake_handshaker to implement the asynchronous TSI
2017-07-12 07:18:26 -07:00
Anna Sapek
4318df0571
Update tsi_fake_handshaker to implement the asynchronous TSI
2017-07-11 14:05:11 -07:00
Noah Eisen
7e4c1dd4c9
Add fuzzer repro
2017-07-11 07:37:41 -07:00
Mark D. Roth
8e32b4dd72
Merge pull request #11719 from markdroth/large_metadata_bad_client_test_fix
...
bad_client test: do multiple reads if needed to read full server response
2017-07-11 07:31:00 -07:00
Mark D. Roth
5dd24897a5
Do multiple reads if needed to read full server response.
2017-07-11 07:29:56 -07:00
Ken Payson
a4710a090d
Revert "Remove lockfree-stack implementation that is no longer used"
...
This reverts commit 3d04e025bc .
2017-07-10 16:49:59 -07:00
Muxi Yan
dfe402781e
Fix windows test failure
2017-07-09 11:01:14 -07:00
Muxi Yan
fbd06f7202
Comments and fixes
2017-07-08 10:54:46 -07:00
Craig Tiller
f5bda7fabb
Merge github.com:grpc/grpc into enable-epoll1
2017-07-06 08:26:59 -07:00
Sree Kuchibhotla
b633a86e1a
Merge branch 'master' into fix_alarm
2017-07-05 15:32:43 -07:00
Muxi Yan
4f85558ba8
clang-format
2017-07-05 10:37:54 -07:00
Muxi Yan
163d8d65a6
Sanity fix
2017-07-05 10:09:46 -07:00
Muxi Yan
e87a7e1a47
Move stream_compression to src/core/lib/compression
2017-07-05 10:09:03 -07:00
Muxi Yan
c1f837ce79
Make stream compression module
2017-07-05 10:08:58 -07:00
Muxi Yan
be7f2a41ab
Merge pull request #11602 from muxi/add_cancel_after_round_trip_test
...
Add a end2end test of cancel call
2017-07-05 09:15:49 -07:00
Craig Tiller
39a7327c5f
Merge github.com:grpc/grpc into cq-drop
2017-07-05 08:36:04 -07:00
Craig Tiller
7835620e6e
Merge github.com:grpc/grpc into enable-epoll1
2017-07-05 08:34:25 -07:00
Muxi Yan
b8e6e2f299
Fix test failures
2017-06-28 17:59:52 -07:00
Muxi Yan
d46239a8c2
Correct copyright year
2017-06-27 16:30:46 -07:00
Muxi Yan
0c8cb1d652
Resolve asan failure
2017-06-27 14:00:53 -07:00
Mark D. Roth
bf527617bf
Merge pull request #11577 from markdroth/compression_filter_fix
...
Fix handling of send_message before send_initial_metadata in compress filter.
2017-06-26 15:02:21 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
Muxi Yan
d19c112db0
Add test
2017-06-23 17:24:21 -07:00
Yuchen Zeng
32e41b452a
Fix bad_ping
2017-06-23 16:34:34 -07:00
Mark D. Roth
5dc774199b
Fix Windows compiler problem.
2017-06-23 09:13:16 -07:00
Sree Kuchibhotla
a8cf05c803
Refcount grpc_alarm object so that grpc_alarm_destroy can safely be called before the alarm event is dequeued from the completion queue
2017-06-22 15:10:25 -07:00
Mark D. Roth
2024353b07
Merge pull request #11499 from markdroth/trailers_only
...
Add support for Trailers-Only responses.
2017-06-22 10:54:09 -07:00
Mark D. Roth
bd3b93b4b5
Add support for Trailers-Only responses.
...
- When receiving a Trailers-Only response, return the metadata as
trailing metadata instead of initial metadata.
- Send Trailers-Only response when we have no non-default initial metadata,
no message to send, and trailing metadata to send.
2017-06-22 10:53:01 -07:00
Mark D. Roth
7cd1425e29
Fix handling of send_message before send_initial_metadata in compress filter.
2017-06-22 10:49:43 -07:00
Noah Eisen
892afc2097
Merge pull request #10833 from ncteisen/tracing-overhaul
...
Tracing Overhaul
2017-06-21 10:37:14 -07:00
Yuchen Zeng
cf8c67c00b
Merge pull request #11545 from y-zeng/max_message_length
...
Fix max_message_length
2017-06-20 10:17:28 -07:00
Yuchen Zeng
2768866320
Fix max_message_length
2017-06-19 16:53:43 -07:00
Vijay Pai
3d04e025bc
Remove lockfree-stack implementation that is no longer used
2017-06-19 15:32:44 -07:00
Craig Tiller
ecfbe2a6d5
Merge branch 'cq-drop' into enable-epoll1
2017-06-19 11:21:33 -07:00
Craig Tiller
e7183b77a6
Merge github.com:grpc/grpc into cq-drop
2017-06-19 11:21:02 -07:00
ncteisen
1f6e176cc3
Merge branch 'master' of https://github.com/grpc/grpc into tracing-overhaul
2017-06-15 09:44:47 -07:00
Alexander Polcyn
78b092aa6b
fix varargs compiler error
2017-06-14 23:52:28 -07:00
Jan Tattermusch
aa345e85be
try fixing invalic_call_argument_test on kokoro
2017-06-10 08:13:02 +02:00
Craig Tiller
6a23105aa9
Merge github.com:grpc/grpc into cq-drop
2017-06-09 10:01:24 -07:00
ncteisen
0e3aee3dff
Add refcount to tcp tracer
2017-06-08 17:50:02 -07:00
ncteisen
969b46ef73
Add rich closure debug mode
2017-06-08 17:50:01 -07:00
Craig Tiller
9dba1996ec
Merge github.com:grpc/grpc into enable-epoll1
2017-06-08 23:10:06 +00:00
Craig Tiller
dc16855649
Merge pull request #11336 from ctiller/ALL-the-things
...
Roll-up of threading changes
2017-06-08 16:03:36 -07:00
ncteisen
274bbbe6a0
Add rich closure debug mode
2017-06-08 15:29:29 -07:00
ncteisen
1621f5e051
Merge branch 'master' of https://github.com/grpc/grpc into ALL-the-things
2017-06-08 14:26:50 -07:00
Craig Tiller
ae6083674a
clang-format
2017-06-08 14:10:49 -07:00
Craig Tiller
8239b80459
Ensure a poller exists
2017-06-08 21:09:59 +00:00
Yuchen Zeng
8f3d02106b
Merge pull request #11237 from y-zeng/srv_record
...
Support grpclb address in the c-ares resolver
2017-06-08 13:17:02 -07:00
Craig Tiller
0f016bdcf7
Fix test verification
2017-06-08 09:26:42 -07:00
Craig Tiller
b3899fd18b
Merge github.com:grpc/grpc into ALL-the-things
2017-06-08 07:54:10 -07:00
Jan Tattermusch
0bf41fc88d
fix test/core/http/BUILD
2017-06-08 11:29:25 +02:00
Jan Tattermusch
4d5c3102a1
fix remaining license notices
2017-06-08 11:22:41 +02:00