Commit Graph

146 Commits

Author SHA1 Message Date
Nicolas Noble 7661da5b41 Merge pull request #6012 from nicolasnoble/memleak_detector
Adding memory leak detections for the json fuzzer.
2016-03-31 20:51:30 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 7753119d28 Update copyright 2016-03-29 21:23:02 -07:00
Craig Tiller f05837ab82 Run fuzzer corpus entries as unit tests 2016-03-29 20:42:29 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Matthew Iselin 1824f0519f Add HTTP request parsing.
This extends the existing http parser to support requests as well as responses.

httpcli continues to exist and work as it has previously, though in the new
directory src/core/http (to reflect the fact the directory now contains code
relevant to parsing requests, which httpcli would not generally involve itself
in).
2016-03-23 13:22:32 +11:00
Jan Tattermusch 86eece8c05 Merge pull request #5797 from ctiller/win2
Make stack traces show up in run_tests.py logs
2016-03-21 16:50:31 -07:00
Craig Tiller bb84c6a70e Make stack traces show up in run_tests.py logs 2016-03-17 10:42:57 -07:00
Craig Tiller 4cc04f8742 Upgrade windows to the fixed posix port server code 2016-03-17 08:56:20 -07:00
Craig Tiller 19d7d808ec Split port_posix.c into platform specifics and a portable interface to port_server.py 2016-03-17 08:47:05 -07:00
Craig Tiller 2ed1a9e329 Disable warning: system header is broken 2016-03-16 20:09:43 -07:00
Craig Tiller b195792ed9 Drop the L 2016-03-16 17:22:57 -07:00
Craig Tiller 2befb68e82 Tweaking formatting 2016-03-16 17:16:02 -07:00
Craig Tiller adf3a9d0b0 clang-fmt 2016-03-16 14:59:36 -07:00
Craig Tiller c9c0b8bf42 Review feedback 2016-03-16 14:57:29 -07:00
Craig Tiller 3c788053bc Fix copyright 2016-03-16 10:45:32 -07:00
Craig Tiller 2b45cb827f clang-format code 2016-03-16 10:44:57 -07:00
Craig Tiller ce2b3084e7 Get stack traces in crash dumps working for Windows 2016-03-16 10:43:49 -07:00
Craig Tiller 3af3f743c3 Fixes to things 2016-02-28 21:53:13 -08:00
Craig Tiller 69b093b360 Revert "Revert "Add an implementation firewall against pollset_set"" 2016-02-25 19:04:07 -08:00
Vijay Pai e9ef536451 Revert "Add an implementation firewall against pollset_set" 2016-02-25 18:10:24 -08:00
Craig Tiller 36f8f88529 Fix crash on mac 2016-02-25 16:41:33 -08:00
Craig Tiller 1d7704d7a1 Fix windows 2016-02-25 14:07:29 -08:00
Craig Tiller 85371a2bb0 Change pollset mutex ownership 2016-02-25 13:55:13 -08:00
Craig Tiller ee1f1f347d Merge branch 'hide-the-worker' into hide-the-pollset 2016-02-24 09:01:14 -08:00
Craig Tiller 9114a142c9 Port pollset worker changes to windows 2016-02-24 08:40:30 -08:00
Craig Tiller a8be91b315 Provide an interface firewall between pollset and its implementations
Starting to allow for >1 implementation of pollset within a binary.

Do so without requiring an extra allocation for completion queues (which
we could not tolerate).
2016-02-19 16:22:44 -08:00
Craig Tiller d0a8ae1266 Move worker into pollset 2016-02-18 08:01:19 -08:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -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 c085e5c061 Fix copyrights 2016-01-28 14:15:09 -08:00
Craig Tiller eced8ae3b3 Fix windows 2016-01-28 14:13:20 -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 b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
Craig Tiller 2c1c7d5473 Fix copyrights 2016-01-27 13:54:56 -08:00
Craig Tiller b0f275e4af Small testing fixes
- end2end test deadlines may complete before checking IsCancelled
  => don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
2016-01-27 10:45:50 -08:00
Dan Born 725ee28af8 Extend Copyrights to 2016 2016-01-13 13:14:56 -08:00
Dan Born 5d81d15260 Code review follow-up. 2016-01-12 20:29:29 -08:00
Dan Born fa6b606898 Make grpc_tcp_listener private. 2016-01-11 20:19:04 -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 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
yang-g f8843fb58c fix build and windows test 2015-11-21 12:33:22 -08:00
yang-g 3ff9727a37 merge with head 2015-11-20 17:01:57 -08:00
Nicolas Noble 5eb4e1caef Adding grpc_tcp_listener as an actual object being returned. 2015-11-19 02:35:09 +01:00
yang-g c9fca1813a refacto of the reconnect tcp server to a general purpose test tcp server to be reused by the set_initial_string_test 2015-11-06 16:41:33 -08:00
Craig Tiller 0d6499e7e1 Add more verbose traces for port_server usage 2015-10-05 14:00:47 -07:00
Craig Tiller 2c0b91d4ff Dont call malloc either 2015-09-30 07:49:59 -07:00
Craig Tiller 3a12dcfd06 Fixes 2015-09-30 07:47:08 -07:00