Commit Graph

529 Commits

Author SHA1 Message Date
Craig Tiller d4673484c7 Update tests 2016-09-23 13:50:04 -07:00
murgatroid99 7871f736ce Remove sockaddr type structs and socklen_t from internal core APIs, update POSIX tests 2016-09-23 13:49:05 -07:00
Mark D. Roth 34dac9d4ca Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 13:06:26 -07:00
Craig Tiller ee43d7bbb1 Merge pull request #8069 from grpc/revert-8068-revert-7279-grand-unified-closures
Revert "Revert "Grand unified closures""
2016-09-16 12:11:11 -07:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Mark D. Roth 2137cd8e9b Rename client_config directory to client_channel. 2016-09-14 09:04:00 -07:00
Craig Tiller 57726ca5a9 Revert "Revert "Grand unified closures"" 2016-09-12 11:59:45 -07:00
Craig Tiller 537f7c2a13 Revert "Grand unified closures" 2016-09-12 11:56:39 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
Craig Tiller 255dad3630 Merge github.com:grpc/grpc into grand-unified-closures 2016-09-02 09:15:23 -07:00
David Garcia Quintas 410208c25c Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-01 18:23:55 +02:00
Mark D. Roth 7187ab9866 Change cq_verifier to report file and line number for expectations. 2016-08-24 13:49:22 -07:00
Mark D. Roth a30678039f Remove check for max message size from invalid_channel_args test, since
this parameter is no longer checked at channel creation time.
2016-08-24 08:19:50 -07:00
David Garcia Quintas 8c5424f0d5 added gpr_types.h 2016-08-01 22:49:00 -07:00
David Garcia Quintas e8fd66b71d removed codegen/slice_buffer.h and scrubbed codegen/slice.h 2016-07-27 22:05:37 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
David Garcia Quintas 3b31fdf77b removed codegen/byte_buffer.h 2016-07-27 18:17:12 -07:00
David Garcia Quintas 6b11462da1 removed codegen/alloc.h 2016-07-27 14:49:53 -07:00
Craig Tiller 9d01848ef2 Fixes 2016-07-18 08:53:49 -07:00
Craig Tiller da3ec2a836 Merge branch 'delayed-write' into grand-unified-closures 2016-07-13 08:47:28 -07:00
yang-g 408ef6bf25 Merge remote-tracking branch 'upstream/master' into sequential_con 2016-07-12 08:33:39 -07:00
Craig Tiller e0221ff340 Debugging 2016-07-11 15:56:08 -07:00
yang-g dc3a775e60 Merge remote-tracking branch 'upstream/master' into import 2016-07-08 17:05:02 -07:00
yang-g 9241c6947f Use test roots.pem in test 2016-07-06 17:01:10 -07:00
yang-g 9ef0cd81f7 Initialize variable. 2016-07-06 16:17:37 -07:00
David Garcia Quintas 7ac58464df removed use of __func__ in test 2016-07-06 15:42:03 -07:00
David Garcia Quintas ecbe2d5285 Added test for C 2016-07-02 09:50:17 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
Craig Tiller e63246d100 clang-format 2016-06-21 09:03:11 -07:00
Craig Tiller a4d2d0c798 Merge github.com:grpc/grpc into reuse_port 2016-06-20 08:09:52 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00
Craig Tiller ea0dee5be9 Fix leaks 2016-06-13 09:02:24 -07:00
Craig Tiller dbaf05e13d Add a test of connecting many times in a row 2016-06-12 22:16:56 -07:00
Yuchen Zeng 64c0e8d4bc Add format check for gpr_log and gpr_asprintf 2016-06-10 11:19:51 -07:00
Craig Tiller 0ca68b7cb1 Merge github.com:grpc/grpc into error 2016-06-09 07:50:50 -07:00
David Garcia Quintas 533add5a87 Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-07 21:21:27 -07:00
Craig Tiller 2888bd58b0 Merge github.com:grpc/grpc into error 2016-06-07 11:00:42 -07:00
Jan Tattermusch 87ec3b77b5 Merge pull request #6750 from makdharma/cronet
cronet build related changes to build.yaml, and added ifdef guard around objective_c cronet code.
2016-06-06 12:44:12 -07:00
Craig Tiller d925c93047 Merge github.com:grpc/grpc into error 2016-06-06 08:38:50 -07:00
David Garcia Quintas 55c08f81cf Merge branch 'master' of github.com:grpc/grpc into compression_md_level_bis 2016-06-03 14:18:01 -07:00
Craig Tiller 115ae4004c Add some tests 2016-06-03 12:00:05 -07:00
Craig Tiller f5f290459a Fix up some server setup bugs 2016-06-03 11:29:55 -07:00
Craig Tiller 48ed92ea38 GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN 2016-06-02 11:07:12 -07:00
Makarand Dharmapurikar 2a2321b384 removed grpc_cronet.h 2016-06-01 16:56:36 -07:00
Craig Tiller ccc8ec54b0 Merge branch 'error' into reuse_port 2016-05-24 06:55:47 -07:00
Craig Tiller 48abdde197 Merge github.com:grpc/grpc into error 2016-05-24 06:55:28 -07:00
Craig Tiller c4c6ecf8e9 Merge github.com:grpc/grpc into test_affine 2016-05-23 12:48:55 -07:00
Craig Tiller 29dc490b94 clang-format 2016-05-20 08:43:48 -07:00
Craig Tiller 644da98573 Fixes 2016-05-19 09:19:28 -07:00
Julien Boeuf a4880374f9 Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring 2016-05-18 22:12:43 -07:00
Craig Tiller 5352ff11d5 Windows fixes for error handling 2016-05-18 10:44:38 -07:00
Craig Tiller cf2cce661d Bug fixes 2016-05-17 08:33:20 -07:00
Craig Tiller 40945c702a Add missing function for completion queue 2016-05-16 17:15:24 -07:00
David Garcia Quintas 6d0b4d20c0 Merge branch 'master' of github.com:grpc/grpc into merge 2016-05-12 14:28:36 -07:00
makdharma c2ec95bad4 Revert "Revert "cronet wrapper code"" 2016-05-11 16:26:15 -07:00
Julien Boeuf bae6a4cb43 Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring 2016-05-10 15:26:17 -07:00
David Garcia Quintas a301eaade8 Allow servers to select compression level via initial MD.
Setting the newly added compression_level field of
grpc_op::send_initial_metadata by a server now has the effect of
applying that compression level for the subsequent call messages leaving
the server. The ultimate meaning of the level depends on the client's
supported compression algorithms.
2016-05-09 14:30:41 -07:00
Craig Tiller 42342cbebb Revert "cronet wrapper code" 2016-05-09 08:12:35 -07:00
Craig Tiller 1aee5362f4 Progress converting to new error system 2016-05-07 11:26:50 -07:00
Craig Tiller f707d62db6 Convert tests to new error scheme 2016-05-06 14:26:12 -07:00
Nicolas Noble 48d833a9d8 Merge pull request #6214 from makdharma/master
cronet wrapper code
2016-05-05 14:09:17 -07:00
Craig Tiller 4ba6a646cd Merge branch 'credentials_refactoring' of github.com:jboeuf/grpc into error 2016-05-05 13:01:39 -07:00
Julien Boeuf 8ca294e417 Refactoring the core security code.
As opposed to a flat directory, we now have the following structure:

- security
  -context
  - credentials
    - composite
    - fake
    - google_default
    - iam
    - jwt
    - oauth2
    - plugin
    - ssl
  - transport
  - util

We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Makarand Dharmapurikar 274bcc8f0b Added dummy cronet api implementation so we can build on Jenkins. 2016-05-03 17:34:54 -07:00
David Garcia Quintas 1b2db6333d Moved protos out of core_codegen interface 2016-04-27 15:09:11 -07:00
Nicolas Noble c3d869ef58 Merge pull request #6160 from ctiller/api_fuzzer
Core API fuzzer
2016-04-25 16:34:59 -07:00
Craig Tiller 653ea75ff5 Properly shutdown pollsets before destroying them 2016-04-25 07:40:23 -07:00
Craig Tiller 8a67780fba Fix bug causing calls to never complete 2016-04-22 15:07:53 -07:00
Jan Tattermusch dde6dfbb0b Merge pull request #5958 from deepaklukose/skip_client_cert_verification
Add various options to verify ssl/tls client cert including letting the application handle the authentication.
2016-04-20 21:01:30 -07:00
Deepak Lukose dba4c5fd01 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Craig Tiller 418b9f9a42 Fix bug in test 2016-04-15 09:06:55 -07:00
Nicolas "Pixel" Noble 90f03b5d9c Code formatting. 2016-04-14 06:17:58 +02:00
Nicolas "Pixel" Noble 04f812b4e6 Adding actual servers to reply to messages. 2016-04-14 06:04:29 +02:00
Craig Tiller d08c6ae5aa Merge github.com:grpc/grpc into optionalize_client_config 2016-04-05 16:06:06 -07:00
Jan Tattermusch abb4f5f3ab Merge pull request #6070 from ctiller/head-of-line-blocking
Fix a head of line blocking issue in the C++ server
2016-04-05 14:31:33 -07:00
Craig Tiller 084aa62861 Remove unnecessary -2016 from copyrights 2016-04-05 08:36:49 -07:00
Craig Tiller 06cb1a9d93 Initial interface rework to allow knowing whether to pull payload at registration, not at request time 2016-04-04 08:10:47 -07:00
Craig Tiller d4c9833187 Reposition files to optionalize client_config system 2016-03-31 13:45:47 -07:00
Craig Tiller 64a12c55df Merge github.com:grpc/grpc into copyright-fix 2016-03-31 07:49:58 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 3bd9695939 Merge github.com:grpc/grpc into idempotent 2016-03-28 12:43:02 -07:00
Craig Tiller b7f3f6eec4 Fix copyright 2016-03-25 17:13:09 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Craig Tiller 44654553de Merge github.com:grpc/grpc into idempotent 2016-03-21 09:04:06 -07:00
Craig Tiller 4f7ffa05a4 Merge github.com:grpc/grpc into idempotent 2016-03-16 07:58:20 -07:00
Masood Malekghassemi 6643ce7ed1 Clean up test 2016-03-14 20:36:14 -07:00
Craig Tiller a45782f090 Fix copyright 2016-03-11 20:15:51 -08:00
Craig Tiller 9fb89ea9e3 If we cant check timers due to contention, at least make sure we do a follow up check soon 2016-03-11 20:12:45 -08:00
Craig Tiller 948fa1b1b5 Merge branch 'huh_omg' of github.com:ctiller/grpc into huh_omg 2016-03-11 19:29:33 -08:00
Craig Tiller 3591482a37 Expand lock 2016-03-11 19:29:23 -08:00
Craig Tiller d24fc85b59 Fix cast 2016-03-11 17:18:19 -08:00
Craig Tiller 64baf2cbab Extend timeout 2016-03-11 17:16:33 -08:00
Craig Tiller 0ce7bec923 Fail faster 2016-03-11 17:02:07 -08:00
Craig Tiller 57e2743b65 Add contributed test 2016-03-11 16:53:58 -08:00
Craig Tiller b093686e59 Fix copyright 2016-03-10 07:17:25 -08:00
Craig Tiller df5231ec09 Implement tests 2016-03-10 07:00:47 -08:00
vjpai 73d2a12d4b Fix copyright 2016-02-03 16:19:30 -08:00
yang-g 70fa0da7f1 add a test 2016-02-02 23:22:48 -08:00
David G. Quintas ee7e1c20ed Merge pull request #4950 from ctiller/offload-racing
Preparatory changes for work shedding
2016-01-28 18:10:07 -08:00
Craig Tiller a93a25f7bc Update copyrights 2016-01-28 13:55:49 -08:00
Craig Tiller 6c39686dfa Preparatory changes for work shedding
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
  success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
  functions
2016-01-28 13:53:40 -08:00
David Garcia Quintas b523c732d1 async_stream.h done. Compiles 2016-01-25 18:22:28 -08:00
David Garcia Quintas 2425bbbc55 Further work. Compiles. WIP 2016-01-25 17:32:48 -08:00
David Garcia Quintas 08a0a3306e Made "codedgen" directories closed over #includes 2016-01-21 01:04:36 -08:00
Craig Tiller be0327bfee Update new files 2016-01-06 13:57:40 -08:00
Craig Tiller ea21ca234c Fix makefile, codegen bugs 2016-01-04 12:34:29 -08:00
Craig Tiller 47c50cc4d3 zookeeper is platform specific 2016-01-04 08:48:37 -08:00
Craig Tiller ab23045414 Add a test that public headers compile as C99 2016-01-04 08:18:43 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller 54bc8a959e Stabilize test by increasing timeout 2015-12-15 15:00:48 -08:00
Craig Tiller 0bdc3a58f6 Merge branch 'cf' into proxy-crash 2015-12-14 12:11:01 -08:00
Craig Tiller 620e965c1b clang-format after last weeks test-fest 2015-12-14 12:02:50 -08:00
Craig Tiller 4bf292890c Fix proxy end2end tests
Some transport callbacks weren't getting triggered. We now ensure that
this always occurs.

Additionally: left some debug only code around to make this class of bug
easier to diagnose in the future.
2015-12-14 11:25:48 -08:00
Craig Tiller ef55655f79 Add includes 2015-12-11 19:56:34 -08:00
Craig Tiller e27954ca2e Fix memory leaks 2015-12-11 15:33:08 -08:00
Craig Tiller b3466dc38e Also delete cq 2015-12-11 14:40:15 -08:00
Craig Tiller 10c4b3c70d Add a test for binding a server to the same port twice; fix crashes 2015-12-11 14:38:18 -08:00
Craig Tiller 65af7af148 Merge pull request #4405 from yang-g/fixit_server_c
add tests for public server apis
2015-12-11 14:01:10 -08:00
yang-g 07f752e46f merge with head 2015-12-11 10:35:53 -08:00
yang-g 14bdea1853 Merge remote-tracking branch 'upstream/master' into fixit_server_c 2015-12-11 10:34:09 -08:00
Sree Kuchibhotla c54f88ee8d Merge pull request #4403 from yang-g/fixit_secure_channel_create_c
add a test for secure_channel_create and fix cleanup code
2015-12-10 20:33:16 -08:00
yang-g e682c3eea4 add test for lame client transport op 2015-12-10 15:35:34 -08:00
yang-g 5a3bc8ea7f add test coverage for channel_connectivity check 2015-12-10 14:48:37 -08:00
yang-g c3d94fb82a add tests for public server apis 2015-12-10 14:38:00 -08:00
yang-g d482e59d3a add a test for secure_channel_create and fix cleanup code 2015-12-10 14:04:00 -08:00
Sree Kuchibhotla 07c4b573cf Merge pull request #4368 from yang-g/fixit_lame_client_c
add test for lame_client get_peer and recv_initial_metadata
2015-12-10 12:05:52 -08:00
yang-g 68f6b9ead2 separate recv intial metadata and trailing metadata 2015-12-09 15:37:46 -08:00
yang-g 95ee080883 merge with head 2015-12-09 11:26:43 -08:00
yang-g c68db44702 add test for lame_client get_peer and recv_initial_metadata 2015-12-09 11:23:34 -08:00
yang-g fe9a975655 Add a test for failing to add a port 2015-12-09 10:47:18 -08:00
yang-g 13affcb8e9 merge with head 2015-12-09 10:26:33 -08:00
yang-g c0ed509d93 Add test for un-resolvable target 2015-12-09 08:48:08 -08:00
yang-g 5809d2bd7e merge with head 2015-12-09 07:49:18 -08:00
yang-g 7c6d1ad1d4 add test for more plucks than allowed 2015-12-08 16:07:05 -08:00
yang-g 0edc362f91 Merge remote-tracking branch 'upstream/master' into fixit_channel_c 2015-12-08 10:31:48 -08:00
Yang Gao cf45f0a44e Merge pull request #4336 from ctiller/windows-fix
Fix windows build
2015-12-08 10:31:32 -08:00
Sree Kuchibhotla fe5e877f44 Merge pull request #4333 from yang-g/fixit_completion_queue_c
add test for pluck after shutdown
2015-12-08 10:19:00 -08:00
yang-g 0346883b0b do the right thing? 2015-12-08 10:10:44 -08:00
Craig Tiller 858be6c58c Fix windows build 2015-12-08 09:29:44 -08:00
yang-g 0c6daa0e86 merge with head 2015-12-08 08:10:29 -08:00
yang-g 26fdaa5751 Fix msan 2015-12-08 08:05:19 -08:00
yang-g 1ed62e4efc add test for pluck after shutdown 2015-12-08 08:00:24 -08:00
yang-g f1183300ce add test for global plugin 2015-12-07 16:02:05 -08:00
yang-g 7c090f8215 add tests for the error messages 2015-12-07 15:46:04 -08:00
yang-g 9caec653ea add test for byte_buffer_copy 2015-12-07 09:32:44 -08:00
Craig Tiller 3c53bb2f46 clang-format 2015-11-10 14:24:36 +00:00
David Garcia Quintas c76ff107b6 Removed consts to make MSVC happy 2015-11-04 19:22:44 -08:00
David Garcia Quintas 6eb3925a70 Added grpc_byte_buffer_reader_readall 2015-10-30 17:24:41 -07:00
David Garcia Quintas f747bbc043 s/grpc_alarm/grpc_timer && s/grpc_cq_alarm/grpc_alarm 2015-10-04 23:09:47 -07:00
David Garcia Quintas cb954cfc28 Removed exec_ctx from cq_alarm's functions 2015-10-04 14:52:13 -07:00
David Garcia Quintas 0dfbdf6e54 Added grpc_cq_alarm 2015-10-04 12:13:26 -07:00
Craig Tiller b8b1a462e5 Finish cleanup 2015-09-22 12:50:03 -07:00
Craig Tiller a82950e683 clang-format all core files 2015-09-22 12:33:20 -07:00
Craig Tiller e7db29f8c7 Move argument passing to start of list 2015-09-22 10:55:42 -07:00
Craig Tiller f5768a6765 Rename init 2015-09-22 10:54:34 -07:00
Craig Tiller 098047b53a Rename run 2015-09-22 10:53:14 -07:00
Craig Tiller 1be70ccdb8 Move arguments to the start of lists 2015-09-22 10:45:28 -07:00
Craig Tiller 45724b35e4 indent pass to get logical source lines on one physical line 2015-09-22 10:42:19 -07:00
Craig Tiller d9ccbbf6b9 Rename call_list to closure_list 2015-09-22 09:30:00 -07:00
Craig Tiller ba496454b2 Fixes 2015-09-21 17:15:19 -07:00
Craig Tiller dfff1b8126 Call list progress 2015-09-21 14:39:57 -07:00
Craig Tiller 32ca48ce0b Core compiles with -Wsign-conversion 2015-09-10 11:47:15 -07:00
Craig Tiller 03ab064fb7 Fix completion_queue_test 2015-09-02 12:22:49 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
yang-g c31cd86a74 Let lame_client accept error status 2015-08-17 15:37:27 -07:00
Nicolas "Pixel" Noble 9d72b149a9 Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
Conflicts:
	include/grpc/grpc.h
	src/core/surface/channel.c
	src/core/surface/channel_create.c
	src/core/surface/completion_queue.c
	src/cpp/client/channel.cc
	src/cpp/client/insecure_credentials.cc
	src/csharp/ext/grpc_csharp_ext.c
	src/node/ext/call.cc
	src/node/ext/channel.cc
	src/php/ext/grpc/call.c
	src/php/ext/grpc/channel.c
	src/python/grpcio/grpc/_adapter/_c/types/channel.c
	src/ruby/ext/grpc/rb_channel.c
	test/core/end2end/dualstack_socket_test.c
	test/core/end2end/fixtures/chttp2_fullstack.c
	test/core/end2end/fixtures/chttp2_fullstack_compression.c
	test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
	test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
	test/core/end2end/multiple_server_queues_test.c
	test/core/end2end/no_server_test.c
	test/core/end2end/tests/bad_hostname.c
	test/core/end2end/tests/cancel_after_accept.c
	test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
	test/core/end2end/tests/cancel_after_invoke.c
	test/core/end2end/tests/cancel_before_invoke.c
	test/core/end2end/tests/cancel_in_a_vacuum.c
	test/core/end2end/tests/census_simple_request.c
	test/core/end2end/tests/disappearing_server.c
	test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
	test/core/end2end/tests/empty_batch.c
	test/core/end2end/tests/graceful_server_shutdown.c
	test/core/end2end/tests/invoke_large_request.c
	test/core/end2end/tests/max_concurrent_streams.c
	test/core/end2end/tests/max_message_length.c
	test/core/end2end/tests/ping_pong_streaming.c
	test/core/end2end/tests/registered_call.c
	test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
	test/core/end2end/tests/request_response_with_metadata_and_payload.c
	test/core/end2end/tests/request_response_with_payload.c
	test/core/end2end/tests/request_response_with_payload_and_call_creds.c
	test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
	test/core/end2end/tests/request_with_compressed_payload.c
	test/core/end2end/tests/request_with_flags.c
	test/core/end2end/tests/request_with_large_metadata.c
	test/core/end2end/tests/request_with_payload.c
	test/core/end2end/tests/server_finishes_request.c
	test/core/end2end/tests/simple_delayed_request.c
	test/core/end2end/tests/simple_request.c
	test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
	test/core/fling/client.c
	test/core/fling/server.c
	test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
Craig Tiller e1b0e6ee12 s/inherit/propagate/g 2015-07-31 17:07:31 -07:00
Craig Tiller 99e61645ce Update wrappers, tests to new create_call() 2015-07-31 17:01:47 -07:00
Nicolas "Pixel" Noble 4960516c63 Properly initializing reserved pointer in tests. 2015-08-01 00:33:29 +02:00
Nicolas "Pixel" Noble 9a123df2cd Fixing C/C++ tests. 2015-07-29 23:45:08 +02:00
Craig Tiller 1b22b9db94 Add grpc_call_get_peer 2015-07-20 13:42:22 -07:00
Craig Tiller 75cfb044f3 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-13 08:42:22 -07:00
Craig Tiller 143e7bf0cf Introduce a clock type field onto gpr_timespec.
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
Vijay Pai d1c9254029 Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
Vijay Pai ad262a1c4a Merge pull request #2384 from ctiller/spiderman-cant-compete
Fix timeout (and probably TSAN builds...)
2015-07-10 16:36:44 -07:00
Craig Tiller bd54ec4192 1 != 10 2015-07-10 15:27:44 -07:00
Craig Tiller 12cf537a72 clang-format affected files 2015-07-09 13:48:11 -07:00
Craig Tiller 97fc6a3f3f Rewrite completion queue internals to use pre-allocation of events 2015-07-08 15:31:35 -07:00
Craig Tiller a368bd26d1 Merge github.com:grpc/grpc into footprints-on-the-sands-of-time 2015-07-06 11:04:14 -07:00
Craig Tiller d1dd3a68a2 Merge pull request #2117 from dgquintas/bb_from_bbreader
Introduced function to create byte buffers from the output of a byte buffer reader.
2015-07-05 13:30:39 -07:00
Craig Tiller f3756c1e0d Introduce multiple clocks to GPR 2015-07-01 17:21:01 -07:00
David Garcia Quintas 3df5c44c84 Introduced function to create byte buffers from the output of a byte buffer reader. 2015-06-17 18:33:24 -07:00
Craig Tiller 9a57633233 clang-format affected files 2015-06-17 10:21:49 -07:00
Craig Tiller bf8ac3f406 Merge branch 'you-complete-me' into we-dont-need-no-backup 2015-06-17 09:15:48 -07:00
David Garcia Quintas 1d5aca5de0 Added flags support to grpc_op.
Which includes its propagation to grpc_ioreq and validation mechanisms for checking that only known bits are set ot in).
Also added an internal flag (GRPC_WRITE_INTERNAL_COMPRESS) mask for its use in signaling compressed messages.
2015-06-14 14:42:04 -07:00
Craig Tiller 4671122995 Merge branch 'you-complete-me' into we-dont-need-no-backup 2015-06-09 22:59:31 -07:00
David Garcia Quintas 59f905d79a Changes to byte_buffer based on comments. 2015-06-08 20:06:17 -07:00
David Garcia Quintas 25d02d5637 Made grpc_byte_buffer_reader able to decompress msgs. 2015-06-05 16:34:33 -07:00
Craig Tiller 2c42ef3eb3 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-05 07:09:56 -07:00
Craig Tiller 669c139a4a Merge pull request #1866 from dgquintas/stack-allocate-bb-reader
Removed grpc_byte_buffer_reader_{create,destroy}.
2015-06-02 16:59:00 -07:00
Craig Tiller 79e11c6d05 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-02 12:56:26 -07:00
David Garcia Quintas 30bd4eb5cc Removed grpc_byte_buffer_reader_{create,destroy}.
Introduced grpc_byte_buffer_init instead. It's now the user's responsibility to
manage memory.
2015-06-01 21:20:47 -07:00
Craig Tiller c0c484481f Extend the test case 2015-06-01 20:04:36 -07:00
Craig Tiller 59657dbef8 Add a completion queue test
- create completion queue
- call shutdown
- call next
2015-06-01 20:01:15 -07:00
Craig Tiller 44883302c3 Remove condition variable from pollset 2015-05-28 12:44:27 -07:00
Craig Tiller 356961916d Remove all uses of __FUNCTION__ 2015-05-24 15:00:37 -07:00
Craig Tiller f7670f3054 Clean out old code 2015-05-11 09:13:01 -07:00
Craig Tiller 64be9f7a30 C Core API cleanup.
Simplify grpc_event into something that can be non-heap allocated.
Deprecate grpc_event_finish.
Remove grpc_op_error - use an int as this is more idiomatic C style.
2015-05-04 14:53:51 -07:00
Craig Tiller 5fe7e5d81c Fix some memory leaks 2015-05-01 10:52:35 -07:00
Craig Tiller f968980665 Fix cq test 2015-04-29 14:23:03 -07:00
Craig Tiller 2365c7d467 Fix lame client test 2015-04-29 13:55:47 -07:00
Craig Tiller 6902ad2e9c Switching to batch oriented metadata passing 2015-04-16 14:22:28 -07:00
Craig Tiller 29f1314282 Merge github.com:grpc/grpc into credit 2015-02-26 11:23:01 -08:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Craig Tiller 42bc87c097 Update C++ server with new core API
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 2d9c51242a Add mixed shutdown/init test 2015-02-17 11:41:46 -08:00
Craig Tiller 35108f6527 Allow grpc_init to be called multiple times 2015-02-17 11:24:15 -08:00
Craig Tiller 40d2a4307b Merge branch 'async-api-prep' of github.com:ctiller/grpc into async-api 2015-02-02 15:29:14 -08:00
Craig Tiller a7cac78516 Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 10:16:30 -08:00
Craig Tiller 1e0d4c43d1 Rename & semantic fixup progress 2015-01-30 16:17:29 -08:00
Craig Tiller 44c02738ed Merge github.com:google/grpc into async-api
Conflicts:
	test/core/echo/echo_test.c
2015-01-29 21:01:47 -08:00
Nicolas "Pixel" Noble 213ed91850 Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors. 2015-01-30 02:11:35 +01:00
Craig Tiller cce17ac033 First compiling version of the new C api. 2015-01-27 13:54:14 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 8379a06f8d Merge branch 'new_invoke_api' of github.com:google/grpc into update-api
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
2015-01-20 22:43:32 -08:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Craig Tiller c8c8bfa403 Merge branch 'new_invoke_api' of github.com:google/grpc into update
Conflicts:
	src/core/surface/call.c
	test/core/end2end/tests/thread_stress.c
	tools/run_tests/run_tests.py
2015-01-15 22:57:02 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00
Craig Tiller 40fc7a6632 clang-format codebase 2015-01-13 16:11:58 -08:00
Craig Tiller 375605b65f Merge github.com:google/grpc into api 2015-01-13 16:11:30 -08:00
Craig Tiller 80fa15c151 Moving prototype from Google to GitHub
I'd started some prototyping work on this change before the move to
GitHub; this change restores things.
2015-01-13 16:10:49 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
ctiller 18b49ab914 Introducing iomgr.
Move eventmanager and platform dependent endpoint functionality into a single
library called 'iomgr'.

This is primarily to prepare for a Windows port - where posix socket semantics
lead to poor quality code.

Mostly this is a code movement CL, with some small changes to help prepare the
way for porting:

- em style fd objects can only be held internally in iomgr, and own their memory
- added grpc_iomgr_create_endpoint_pair() to accomodate the common pattern of
creating a tcp endpoint from the output of socketpair - this will help keep
our tests portable
- separated em alarm interface into a separate file, as this part of event
manager is needed higher up the stack
- made the eventmanager bits a true singleton, simplifying API's across the
stack as there's no longer a reason to carry a pointer there.

Initial design document is here:
https://docs.google.com/document/d/1VmafcHvvrP5kwtQkz84R5yXF7u7fW-9Pn0bkSUQHDt8/edit?disco=AAAAARNByxg
	Change on 2014/12/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81716456
2014-12-09 16:20:55 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00