Commit Graph

127 Commits

Author SHA1 Message Date
Koichi Ishida e4947e2909
Encode server error message (#330) 2020-07-24 10:20:23 +02:00
Koichi Ishida 98ff843751
Decode gRPC error message (#326) 2020-07-20 16:11:19 +02:00
Sigurd Meldgaard 27d9164f28
Add direct dependency to package:crypto. (#316) 2020-06-11 14:33:23 +02:00
Jonas Finnemann Jensen 449faa80ee
Added Application Default Credentials Support (#315)
* Application Default Credentials support

* Prepare a 2.2.0 release of grpc

* Update CHANGELOG.md

Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>

Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>
2020-06-11 14:18:30 +02:00
Oleg Maslovsky 9ed03b6b96
Not to fail pending requests, just reschedule it (#303) 2020-06-08 10:16:00 +02:00
Robson Araujo c513e1467f
Support grpc-web in pure dart (#287)
By using package:http for making connections.
2020-05-12 09:01:36 +02:00
Sigurd Meldgaard 39c751128c
Use tcpNoDelay option for sockets (#298) 2020-05-11 12:47:15 +02:00
Jia Hao 03ecb84064
Export more symbols in grpc_connection_interface.dart (#292)
To create an alternate implementation of ClientChannel, we currently need to import symbols from lib/src which are "private" to the package. This change exports them as part of the public API.
2020-04-16 10:34:59 +02:00
Patrice Chalin 4ba2a13b16
Fix typo in example README (#288) 2020-03-30 12:42:58 +02:00
Jiangtao Li 496c8b07d1
Update test credentials to use 2048-bit RSA (#285) 2020-03-23 14:20:21 +01:00
Patrice Chalin 63dd99e3f3
helloworld and route_guide: update to protobuf v1 (#279) 2020-03-10 09:06:16 +01:00
Sigurd Meldgaard 7d3b3749e8
server: Cancel call when the outgoing messages are closed (#274) 2020-01-28 09:29:05 +01:00
Igor Demyanov ae17e712e4 Share port support (#253)
* Share port support
2019-12-04 09:35:02 +01:00
Igor Demyanov caa1a31bb8 ignore '.idea' directory (#251) 2019-11-29 08:06:46 +01:00
Sigurd Meldgaard 6061512afa
Grpc-web Handle empty trailers (#247)
* Grpc-web Handle empty trailers
2019-11-07 10:52:13 +01:00
Michael Thomsen fd92060ad0
Update README.md (#245) 2019-10-31 10:16:07 +01:00
Sigurd Meldgaard 588c21e542
Avoid sending headers as trailers twice (#244) 2019-10-24 09:35:28 +02:00
Tim e70ea6f2d0 Fix grpc-web import in Readme (#243) 2019-10-23 11:02:46 +02:00
Nic Hite 7ed8b741cd
Add explicit 'localhost' to tests involving server (#242)
* Add explicit 'localhost' to tests involving server

* Bump version

* Clean up CHANGELOG

* Revert version bump.
2019-09-30 01:22:16 -07:00
Sigurd Meldgaard 7af96e5ced
Update test certificate (#241)
The old one was expired.
This one will expire in 2119 hopefully making it somebody elses problem.
2019-09-24 13:32:32 +01:00
Sigurd Meldgaard 20352dd718 Use host without port as authority when making secure connection (#238) 2019-09-09 09:41:56 +02:00
Jan Tattermusch 8e23f00f41 Update MAINTAINERS.md (#234) 2019-08-27 14:37:35 +02:00
Sigurd Meldgaard b7be3af34b
Fix use of authority when making a secure connection 2019-08-22 14:26:29 +02:00
Michael Thomsen 78dcb0f4f1
Create MAINTAINERS.md (#232) 2019-08-20 15:57:49 +02:00
Sigurd Meldgaard 992e2dcc29
Improve connection handling (#231)
* Improve connection handling

* Address review. Add round-trip-test
2019-08-19 15:31:16 +02:00
Sigurd Meldgaard 5ac5d6a1e4 Update .travis.yml (#230) 2019-08-16 09:06:09 +01:00
Sigurd Meldgaard 1213bc546b
Relax dependency on package:meta (#227) 2019-08-08 13:34:51 +02:00
Sigurd Meldgaard 3aeafa77cb
Improve error handling (#204)
* Improve error handling

1) Let GrpcError implement exception

As the user is (usually) expected to catch these they should implement
Exception.
There is a bigger clean-up in splitting off the GrpcError.internal as
that seems to be for invariant violations

2) Convert some thrown strings into exceptions.
2019-07-03 09:26:45 +02:00
Florian Pirmin Groetzner c305f0d685 Update README.md (#210)
Fix double word
2019-07-02 10:30:26 +02:00
Sigurd Meldgaard 9d2a469655
Provide scheme as part of audience (#211) 2019-06-28 15:24:59 +02:00
Sigurd Meldgaard 6d485375ba
Unimplement unimplementedMethod in interop (#208) 2019-06-27 15:36:43 +02:00
Sigurd Meldgaard dcac905a13
Fix interop (#207)
* Fix computation of authority
2019-06-27 14:43:15 +02:00
Sigurd Meldgaard 054ac9de3c
Fix imports (#199) 2019-06-25 13:00:58 +02:00
Sigurd Meldgaard 91564ff7aa
grpc-web support (#191)
* grpc-web support

This commits merges the grpc-web branch into master.

It is based on work by https://github.com/fuzzybinary .
2019-06-17 13:31:07 +02:00
Sigurd Meldgaard e65c52070b
Wait longer for timeout in timeout_test (#192) 2019-06-14 10:34:45 +02:00
Brett Morgan 6c0f61aaf6 Updating for Protobuf 0.13 (#190) 2019-06-14 09:24:05 +02:00
Nic Hite c9c4e40088
Remove unnecessary 'new' and 'const' keywords. (#186) 2019-06-04 11:31:01 -07:00
Sigurd Meldgaard c415d0f4e2
update changelog (#183) 2019-06-03 15:04:10 +02:00
Michael Thomsen 0c8f5ae057
Update README.md (#184) 2019-05-28 15:08:42 +02:00
Ivan c65afe9ec0 Add userAgent for ChannelOptions (#155)
Add userAgent for ChannelOptions
2019-05-28 12:31:35 +02:00
Sigurd Meldgaard f3e1e32973
Allow authority for insecure connections (#179) 2019-05-23 15:48:46 +02:00
Michael Thomsen 0cbc5401c8 Add Windows to the test config (#129) 2019-04-09 11:11:41 +02:00
Sigurd Meldgaard 56c77f84ae
bump_version (#165) 2019-04-03 15:15:01 +02:00
Sigurd Meldgaard 92731e1a71
Cancel `ServerHandler` when `ServerTransportConnection.incomingStreams` is closed (#164)
* Cancel ServerHandler when connection closes
2019-04-03 14:57:55 +02:00
Sigurd Meldgaard d7ae930e7f
Revert "Support grpc-web" (#159)
This reverts commit d58659507c.

Development of grpc-web will continue on the branch
https://github.com/grpc/grpc-dart/tree/grpc-web until it is ready.
2019-03-18 13:46:50 +01:00
Jeff Ward d58659507c Support grpc-web 2019-03-15 12:51:06 +01:00
Sigurd Meldgaard 76159960e2
Add service_api.dart with platform independent exports (#152) 2019-01-24 13:44:59 +01:00
Sigurd Meldgaard f48144271c
Update CHANGELOG.md (#151) 2019-01-22 13:26:58 +01:00
Ivan d62009e9fb Update dependencies(http2,mockito) (#145) 2019-01-22 13:08:25 +01:00
Nic Hite eafca2ab28 Replace Future<Null> with Future<void>. (#146) 2019-01-03 08:13:25 +01:00