Commit Graph

111 Commits

Author SHA1 Message Date
Mark D. Roth c35a37d6c2 Remove TargetAuthorityTable in favor of a per-address channel arg. 2020-07-23 08:23:05 -07:00
Mark D. Roth fc6f26c89b Remove grpc_core::StringView. 2020-04-27 07:46:13 -07:00
Mark D. Roth 41cfae4234 Revert "Merge pull request #19693 from apolcyn/control_plane_creds"
This reverts commit 162fccdb90, reversing
changes made to 228e7557fa.
2020-04-02 08:13:26 -07:00
Mark D. Roth dbea965b8e Fix fuzzers to actually run. 2020-02-26 12:24:04 -08:00
Ivan Posva a1cf1eb4bc Fix leak when running b64_decode_fuzzer tests. 2019-12-12 01:58:57 +00:00
Ivan Posva 944e6f9ad4 Create testcase-5759629707444224. 2019-12-12 01:51:23 +00:00
Ivan Posva bd60691d95
Fix include order for clang_format. 2019-12-10 16:33:12 -08:00
Ivan Posva 59415d0c25
Create testcase-5686577615339520 2019-12-10 07:09:26 -08:00
Ivan Posva 79c4a2f1d8
Fix leak when running b64_encode_fuzzer tests. 2019-12-09 22:33:19 -08:00
Esun Kim e45b60d1fe Fix unique_ptr<char> memory allocation mismatch 2019-11-07 17:53:59 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Samuel Lijin 2b98a9bbc8 Fuzz base64 encoding and decoding
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 :)

The initial corpus files I'm checking in were generated via local runs
and appear to consistently cause leaks. Please let me know if these are
actual bugs, or if they're a false positive.
2019-11-05 18:04:30 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Esun Kim 81df105ac8 Deprecate gpr_get/set_allocation_functions 2019-11-04 19:47:33 -08:00
Vijay Pai c3faf1c3b8 Remove unused parameter warning (12 of 20) 2019-10-17 08:51:34 -07:00
Jan Tattermusch 18fb48de59 use even better workaround 2019-10-15 21:12:14 +02:00
Jan Tattermusch 260dc18f47 a cleaner workaround 2019-10-15 15:59:37 +02:00
Jan Tattermusch 932ce81228 workaround_slice_test_compiler_bug 2019-10-15 15:59:29 +02:00
Jan Tattermusch 8e39f76b10 work around slice_test compiler bug 2019-10-10 06:51:33 -04:00
Jan Tattermusch 8e79705d29 disable fuzzers on windows 2019-09-30 13:28:01 +02:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Arjun Roy 2767accc1b Fixed init-order-fiasco for static slice table.
Fixes init-order bug affecting https://github.com/grpc/grpc/issues/19819 which
was first exposed by this commit:
857375a142
2019-08-27 16:29:12 -07:00
Alexander Polcyn 609107586a Add a way for tests with LeakDetector to free the control plane creds map 2019-07-22 20:40:34 -07:00
Soheil Hassas Yeganeh 5d65a9fa7b Address comments from Vijay. 2019-06-10 15:07:39 -04:00
Soheil Hassas Yeganeh 0d6cffd6c4 Introduce grpc_slice_from_moved_string.
Suggested by @markdroth to avoid extra allocation and copy when it's not
needed.
2019-06-07 22:33:47 -04:00
Soheil Hassas Yeganeh 1f0476267b Add a better comment and rename consume_first to remove_first. 2019-05-02 14:07:06 -04:00
Soheil Hassas Yeganeh 4c0c2965fe Use peek_first instead of mutable_first.
Use DEBUG_ASSERT instead of ASSERT.
2019-04-30 22:20:06 -04:00
Soheil Hassas Yeganeh fd5f787080 Introduce slice_buffer helper methods to avoid copies.
take_first(), grpc_undo_first(), ... are very clostly
methods that unnecessarily copy grpc_slice with extra
ref counting requirements.

Introduce alternatives to avoid copies and refs wherever
possible.

This results in 1% improvements in the benchmarks.
2019-04-30 18:38:29 -04:00
Arjun Roy 7d946633ea grpc_slice_refcount devirtualization 2019-04-19 12:20:26 -07:00
yang-g a6596b2fd5 Fix fuzzer test 2019-03-06 15:43:12 -08:00
yang-g 456f748b2f Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
This reverts commit 9079e98dfc, reversing
changes made to 76a38bfcc2.
2019-02-25 10:11:06 -08:00
Yang Gao 4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread" 2019-02-22 16:34:24 -08:00
yang-g 3227abf717 fix percent en/decode fuzzers 2019-02-15 22:57:44 -08:00
yang-g b5966a281c Fix percent decode fuzzer 2019-01-18 10:27:24 -08:00
yang-g 3c8d24ba2c merge with head and resolve conflict 2018-12-19 10:13:41 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
yang-g 991963efcc Merge branch 'master' into shutdown 2018-12-05 14:53:06 -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
yang-g cdd698810b Move grpc_shutdown internals to a detached thread 2018-11-27 14:26:08 -08:00
Yash Tibrewal c0cd82faed Remove unnecessary includes of exec_ctx.h 2018-03-14 15:33:57 -07:00
David Garcia Quintas 396d49d958 Introduce a 'weak' and mutable version of slice hash table 2018-02-28 16:06:30 -08:00
Mark D. Roth 3e7f2df047 Convert slice hash table and service config code to C++. 2018-02-26 14:39:26 -08: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 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 99024d6436 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-12-08 14:02:18 -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