Commit Graph

113 Commits

Author SHA1 Message Date
Esun Kim 8e9e895ffc Replace grpc_shutdown_blocking with grpc_shutdown 2020-10-08 10:57:05 -07:00
Esun Kim 315caf5d05 Added grpc::testing::TestEnvironment 2020-07-19 19:38:31 -07:00
Yash Tibrewal 8f11aba818 Reviewer comments 2020-05-12 11:26:11 -07:00
Yash Tibrewal 17b6be1ed8 Reviewer comments 2020-05-12 11:13:38 -07:00
Yash Tibrewal 516c2f591a Fail decompression when the gzip trailer is missing 2020-05-12 04:43:57 -07:00
Mark D. Roth a483a6320e Fix compression fuzzers. 2020-04-02 11:56:18 -07:00
Mark D. Roth dbea965b8e Fix fuzzers to actually run. 2020-02-26 12:24:04 -08:00
Esun Kim f31ca23a6a Add TestEnvironment to more tests 2020-01-09 17:01:52 -08:00
Samuel Lijin aa7cb6a335 Fuzz message/stream compression and decompression
Google had a company-wide FuzzIt hackathon recently, so I went digging
in gRPC and found this, which means I probably don't know what I'm doing :)
2019-11-05 18:02:58 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Vijay Pai 3c7b035ca6 Remove unused parameter warning (4 of 20) 2019-10-17 08:50:54 -07:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Juanli Shen 67e6b03e92 Fix compression algorithm parsing 2019-06-19 12:23:41 -07:00
Mark D. Roth eccfecd6a6 Move functions for individual args out of channel_args.{h,cc}. 2019-04-03 13:15:40 -07:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
Jan Tattermusch 433ad52e8c rename bazel stream_compress_test to stream_compression_test 2018-10-12 14:52:19 +02:00
Yash Tibrewal c0cd82faed Remove unnecessary includes of exec_ctx.h 2018-03-14 15:33:57 -07:00
Noah Eisen 4d20a66685 Run clang fmt 2018-02-09 09:34:04 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
Vijay Pai 239b7d4b0b Merge branch 'master' into gpr_review 2018-02-08 11:08:41 -08:00
Muxi Yan 2711e386ec Update prefix length in algorithm_test 2018-02-06 18:41:01 -08:00
Muxi Yan 931f68ec56 regenerate metadata 2018-02-06 18:17:42 -08:00
Muxi Yan 3db2caaf2e Replace message/deflate,gzip with deflate,gzip 2018-02-06 18:17:42 -08:00
Muxi Yan 6f0b195d20 Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_* 2018-02-06 18:17:42 -08:00
Vijay Pai d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -08:00
Muxi Yan fb061c329a Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-19 12:20:15 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
Muxi Yan 86ece2c8f6 Fix stream compression test bazel build 2017-12-11 17:59:39 -08:00
Muxi Yan 99024d6436 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-08 14:02:18 -08:00
Muxi Yan fe1e05e75b Fix build error in compression_test.cc 2017-12-08 10:24:49 -08:00
Muxi Yan c7499e88fd Fix bazel BUILD 2017-12-07 18:10:20 -08:00
Muxi Yan 67454d71e8 Merge commit 'b0bad8f' into fix-stream-compression-config-interface 2017-12-06 22:09:36 -08:00
Muxi Yan fc38142db6 Merge commit 'b0bad8f^' into fix-stream-compression-config-interface 2017-12-06 22:02:08 -08:00
Muxi Yan 38fcd0c6c3 clang-format 2017-12-06 18:55:05 -08:00
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00
Yash Tibrewal c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31:28 -08:00
Yash Tibrewal 6c26b16fe0 Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes 2017-11-14 18:11:22 -08:00
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -08:00
Craig Tiller 4ac2b8e585 Enable clang-tidy as a sanity check, fix up all known failures 2017-11-10 14:14:17 -08:00
Yash Tibrewal 4e9265c828 Merge with master 2017-11-09 17:46:29 -08:00
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal 77532036b6 BUILD changes. test languauge to C++ 2017-10-31 11:11:18 -07:00
Yash Tibrewal e586324627 BUILD files changes for bazel 2017-10-30 17:52:07 -07:00
Yash Tibrewal 34a57d0346 rename all test core files to cc and a lot of C++ style conversions 2017-10-25 16:23:01 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Muxi Yan 4c7bc85bd8 Revert changes to "identity" "deflate" "gzip" "stream-gzip" compression algorithm names at surface API
This reverts commit 6360274841.
This reverts commit 33d7a7aa5a.
2017-10-11 16:27:51 -07:00