Commit Graph

363 Commits

Author SHA1 Message Date
Jan Tattermusch 5d6b4d9903 add a test for #18100 2020-08-17 17:45:57 +02:00
Jan Tattermusch 4c303a387e Revert "Revert "C# expose C-core's debug error string in Status struct""
This reverts commit 7c30f0c956.
2020-06-05 14:59:52 +02:00
Jan Tattermusch 7c30f0c956
Revert "C# expose C-core's debug error string in Status struct" 2020-06-04 18:14:53 +02:00
Jan Tattermusch 2ca781f5a1 address review feedback 2020-06-03 18:39:44 +02:00
Jan Tattermusch 72c92813a8 alternative API: expose debug error in form of an exception 2020-06-02 21:29:32 +02:00
Jan Tattermusch 860d6e5e26 improve asserts 2020-05-14 09:27:43 +02:00
Jan Tattermusch fa99395610 csharp debug error string improvements 2020-05-13 12:39:47 +02:00
Jan Tattermusch cfe0b3a327 Revert "populate error string in ClientSideStatus"
This reverts commit f2178a136d.
2020-05-07 12:00:46 +02:00
Jan Tattermusch f2178a136d populate error string in ClientSideStatus 2020-05-07 11:20:57 +02:00
James Newton-King bba2a77199
PR feedback 2020-04-29 14:08:59 +12:00
James Newton-King bb557bb6ff
Unit tests 2020-04-28 09:59:54 +12:00
Jan Tattermusch abeac187b6 introduce ChannelBase.ShutdownAsync() 2020-01-15 13:58:49 +01:00
Jan Tattermusch a12a8f0ce2
Merge pull request #21383 from JamesNK/jamesnk/channelcredentials-improve-error
Improve ChannelCredentials.Create error messsage with non-SslCredentials
2019-12-09 20:57:53 +01:00
James Newton-King 8b740047c9
Improve error message 2019-12-05 13:29:55 +13:00
James Newton-King 1fec449ee9
Improve error message 2019-12-05 13:19:31 +13:00
James Newton-King 8abdbe18cd
Improve ChannelCredentials.Create error messsage with non-SslCredentials 2019-12-05 13:17:19 +13:00
Jan Tattermusch 931ce49cf1
fix a few nits 2019-12-04 15:37:58 +13:00
mgravell 2030a4e5f7
move core of Async*Call into a new internal AsyncCallState struct; abstracts over Foo() vs Foo(object), avoiding delegate allocations 2019-12-04 15:37:57 +13:00
Hope Casey-Allen bdac6a5dd4 Revert csharp workaround for empty payload gzip compression crash 2019-11-27 10:11:41 -08:00
Hope Casey-Allen 60d0105542 Fix compression filter Stream::Next bug 2019-11-27 10:04:31 -08:00
Jan Tattermusch 4b834f4661 add tests empty send_message buffer 2019-11-21 07:35:31 -05:00
Jan Tattermusch a1ad4800da
Merge pull request #19792 from jtattermusch/csharp_ibufferwriter_serialization
C#: support serialization to IBufferWriter
2019-09-05 15:36:47 +02:00
Jan Tattermusch b876b35457 address review comments 2019-09-05 13:48:31 +02:00
Jan Tattermusch 3c5715466f remove C# workaround for DeadlineExceeded status #2685 2019-09-03 17:03:11 +02:00
Jan Tattermusch 9ae5c5df24 address a TODO 2019-08-12 17:35:00 -07:00
Jan Tattermusch ec351c1ac2 reorder UnsafeSerialize 2019-08-12 17:00:12 -07:00
Jan Tattermusch 127d69383a better tests 2019-08-09 16:00:41 -07:00
Jan Tattermusch ded29be883 slice buffer improvements 2019-08-09 15:43:57 -07:00
Jan Tattermusch ec14872fc2 address TODO" 2019-08-09 14:48:36 -07:00
Jan Tattermusch 79c9aa081d add slice buffer safe handle tests 2019-08-09 14:39:53 -07:00
Jan Tattermusch 66cd7cbb8f improve default serialization context tests 2019-08-09 14:39:53 -07:00
Jan Tattermusch d57dec1c7d improve DefaultSerializationContextTest 2019-08-09 14:39:52 -07:00
Jan Tattermusch f32bd8b091 add default serialization context test 2019-08-09 14:39:52 -07:00
Jan Tattermusch aaddd42c00 add serializationScope and refactoring for efficiency 2019-08-09 14:39:52 -07:00
Jan Tattermusch 31eff3e679 stuff builds but tests crash 2019-08-09 14:39:51 -07:00
Jan Tattermusch a1030e23b0 remove unnecessary test 2019-07-30 11:46:42 -07:00
Jan Tattermusch 47a14ba394 move ChannelCredentials to Grpc.Core.Api 2019-07-30 11:46:37 -07:00
mgravell 39775cf30f remove delegate allocation and boxing from cancellation registrations 2019-07-11 13:07:50 +01:00
Jan Tattermusch fbd5a47181 use System.Memory and Span<> on all TFMs 2019-07-05 08:20:38 -04:00
Jan Tattermusch 2ebbf220ab fix C# sanity and other nits 2019-07-04 11:48:49 -04:00
mgravell ccbde1365b add missing copyright 2019-07-04 09:56:45 +01:00
mgravell 47913c20ab utf8-encode; fix broken test 2019-07-04 09:27:18 +01:00
mgravell 3ab3f5e586 move WellKnownStrings to top-level file; add tests; refactor 2019-07-04 09:17:01 +01:00
mgravell e95f3297aa don't allocate/copy a buffer in ReadMetadataFromPtrUnsafe unless we actually need to (move that logic to CreateUnsafe); implement well-known strings check (just "user-agent" at the moment) 2019-07-02 16:37:13 +01:00
yang-g 9b49f03cf7 Relax deadline check in c# 2019-06-18 11:03:43 -07:00
yang-g 7f327f1ca7 Relax csharp deadline test 2019-06-18 10:33:02 -07:00
Jan Tattermusch 72b95e18fa
Merge pull request #18865 from jtattermusch/csharp_buffer_slices
C# support slice-by-slice deserialization (allow accessing payload as ReadOnlySequence when on netstandard2.0)
2019-05-07 15:27:37 +02:00
Arjun Roy cf9301f964 Removed some unnecessary memset operations in core. 2019-04-25 13:59:10 -07:00
Jan Tattermusch 76e3489216 csharp: support slice-by-slice deserialization 2019-04-25 09:04:35 -04:00
Jan Tattermusch a1a878b593 make CallCredentials implementation agnostic 2019-04-05 05:06:07 +02:00