aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/lib/grpc/generic
Commit message (Collapse)AuthorAge
* Return unimplementedGravatar ganmacs2018-11-25
| | | | when calling a method which is server_streamer and is not implemented by user
* Merge pull request #16642 from tenderlove/send-instead-of-methodGravatar apolcyn2018-09-20
|\ | | | | Switch to `send` instead of `method(...).call`
| * Switch to `send` instead of `method(...).call`Gravatar Aaron Patterson2018-09-17
| | | | | | | | | | | | | | This commit switches `method(...).call` to `send`. The call sites I changed were all immediately calling `call` on the method object, then throwing the method object away. Using `send` should be equivalent and will not allocate the intermediate `method` object.
* | Rescue GRPC::Core::CallError not to kill the worker threadsGravatar ganmacs2018-08-28
|/
* GRPC::Cancelled should be occured when calling Enumrable#next on canceled callGravatar ganmacs2018-06-23
|
* Delete unused @metadata_tagGravatar ganmacs2018-06-18
|
* Unify nearly same methodGravatar ganmacs2018-06-14
| | | | | | `@call` instance variable is same in ActiveCall#merge_metadata_and_send_if_not_already_sent and ActiveCall#send_initial_metadata.
* Add more details to a resource exhausted ruby errorGravatar Alexander Polcyn2018-05-18
|
* Never throw CallErrors for failed bidi reads or writesGravatar Alexander Polcyn2018-04-03
|
* Fix ruby documentGravatar nownabe2018-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Organize collapsed ruby yard doc. 2. Update contents about ClientStub#bidi_streamer because bidi#writes_done hasn't existed. https://github.com/grpc/grpc/pull/14535#discussion_r171452923 3. Fix yardoc warnings. Warings: [warn]: Invalid tag format for @return in file `lib/grpc/core/time_consts.rb` near line 36 [warn]: @param tag has duplicate parameter name: set_input_stream_done in file `lib/grpc/generic/bidi_call.rb' near line 70 [warn]: Unknown tag @result in file `lib/grpc/generic/rpc_server.rb` near line 287 [warn]: @param tag has unknown parameter name: in file `lib/grpc/generic/interceptors.rb' near line 158 [warn]: In file `lib/grpc/generic/rpc_server.rb':217: Cannot resolve link to key: from text: ...{key: val, ..} [warn]: In file `lib/grpc/generic/rpc_server.rb':217: Cannot resolve link to key: from text: ...{key: val, ..}
* Guarantee no race between ruby server's shutdown_and_notify and destroyGravatar Alexander Polcyn2018-02-06
|
* Refactor ruby server shutdown to fix a raceGravatar Alexander Polcyn2018-01-22
|
* Merge pull request #12710 from apolcyn/speedup_ruby_end2end_testsGravatar apolcyn2017-11-27
|\ | | | | Fix a race in ruby server shutdown and cleanup for ruby tests
| * Remove some sleeps in ruby tests and fix test server shutdownGravatar Alex Polcyn2017-11-27
| |
* | remove use of keyword argsGravatar Alexander Polcyn2017-10-31
|/
* Add Ruby server interceptorsGravatar Shaun McCormick2017-09-25
|
* Catch NotImplementedError exceptions and forward them to the client.Gravatar John Millikin2017-08-16
| | | | | | | | | | The old code only caught `StandardError`, which doesn't include `NotImplementedError`. Despite the name, this error indicates a failure of low-level OS interaction rather than unimplemented user code. Any errors not caught by this section will cause the server to terminate, which is generally undesirable because it might be happily handling other requests.
* cancel calls with an error message when bidi write loop fails with userGravatar Alexander Polcyn2017-08-07
| | | | error
* properly finish bidi calls when there is an initial errorGravatar Alexander Polcyn2017-07-27
|
* Merge pull request #11764 from apolcyn/fix_ruby_socket_leakGravatar apolcyn2017-07-20
|\ | | | | Release resources more eagerly on ruby server
| * add missing fields on server call context and improve robustness of finished ↵Gravatar Alexander Polcyn2017-07-19
| | | | | | | | calls
| * make sure that client-side view of calls is robustGravatar Alexander Polcyn2017-07-18
| |
| * dont wait for gc to destroy calls on ruby serverGravatar Alexander Polcyn2017-07-13
| |
* | remove an unused methodGravatar Alexander Polcyn2017-07-11
|/
* auto-fix most of licensesGravatar Jan Tattermusch2017-06-08
|
* Fix class name on documentationGravatar Leonardo Saraiva2017-02-15
|
* Merge pull request #9183 from apolcyn/attach_trailing_md_ruby_bidiGravatar apolcyn2017-01-04
|\ | | | | attach trailing metadata to ruby bidi call op when it's received
* \ Merge pull request #9191 from apolcyn/fix_ruby_default_handlerGravatar apolcyn2017-01-04
|\ \ | | | | | | change ruby default unimplemented ruby server handler to have two aguments
* | | Ruby: show error class and message instead of unknownGravatar Yuan He2016-12-22
| | |
| * | change ruby default unimplemented ruby server handler to have two argumentsGravatar Alexander Polcyn2016-12-21
|/ /
| * attach trailing metadata to ruby bidi call op when it's receivedGravatar Alexander Polcyn2016-12-20
| |
* | v1.0.x → master upmergeGravatar Nathaniel Manista2016-12-16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual changes: - Fixed use of Exception.message in _invalid_metadata_test.py - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb - Added "set -e" to generate_build_additions.sh
| * \ Merge pull request #8879 from apolcyn/ruby_subclass_badstatusGravatar apolcyn2016-12-14
| |\ \ | | | | | | | | add ruby subclasses of bad status for each GPRC status code
* | | | Use snake_case names for default rpc method implementationsGravatar igorpeshansky2016-12-09
| |_|/ |/| | | | | This is what `GRPC::Pool::add_rpc_descs_for` expects.
| | * change client code to use specific exceptions and throw bad status ifGravatar Alexander Polcyn2016-11-30
| | | | | | | | | | | | unkown code
* | | use thread pool from v1.0.x but keep server call life cycle in masterGravatar Alexander Polcyn2016-11-23
| | |
| * | wait for write loop to finish at end of ruby read loop, on client side callsGravatar Alexander Polcyn2016-11-22
| |/
* | Merge remote-tracking branch 'upstream/v1.0.x' into HEADGravatar Jan Tattermusch2016-11-22
|\|
| * remove wait queue from ruby thread pool to avoid deadlockGravatar Alexander Polcyn2016-11-03
| |
* | revert change to shutdown ordering, but keep timerGravatar Alexander Polcyn2016-10-27
| |
* | increase max thread pool size in benchmarks and fix shutdown orderingGravatar Alex Polcyn2016-10-27
| |
* | combine more core batch opsGravatar Alex Polcyn2016-10-26
| |
* | Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-underGravatar Nicolas "Pixel" Noble2016-09-29
|\|
* | Merge pull request #7758 from apolcyn/use_third_party_thread_pool_masterGravatar kpayson642016-09-02
|\ \ | | | | | | Use thread pool from concurrent-ruby on ruby server
| | * remove log statements that showing contents of messagesGravatar Alexander Polcyn2016-08-26
| | |
| * | Use thread pool from concurrent-ruby on ruby serverGravatar Alexander Polcyn2016-08-16
| | |
* | | Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmergeGravatar Nicolas "Pixel" Noble2016-08-16
|\ \ \ | |/ / |/| / | |/
* | Merge pull request #7293 from apolcyn/send_metadata_from_server_handlerGravatar kpayson642016-08-15
|\ \ | | | | | | Moved sending of initial metadata from server into server handler
| * | use sent flag only under mutex and dont fail in send_initial_metadataGravatar Alexander Polcyn2016-08-11
| | |
| * | add mutex wrapper around sending and modifying of initial metadataGravatar Alexander Polcyn2016-08-11
| | |