search for: recv_reply

Displaying 20 results from an estimated 33 matches for "recv_reply".

2006 Oct 27
8
Error after moving to production server
...error. I''ve only been using backgroundRB for like 48 hours, so i''m not really sure what this means or where to go. any ideas? DRb::DRbConnError (too large packet 1008813135): /usr/lib/ruby/1.8/drb/drb.rb:570:in `load'' /usr/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'' /usr/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply'' /usr/lib/ruby/1.8/drb/drb.rb:1192:in `send_message'' /usr/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'' /usr/lib/ruby/1.8/drb/drb.rb:1167:in `open'' /usr/lib/ruby/1.8/drb/drb.rb:...
2019 Sep 11
1
Re: [PATCH nbdkit] tests: Convert some tests to use nbdsh instead of qemu-io.
...-> NEWSTYLE.OPT_STRUCTURED_REPLY.START fulllibnbd: debug: nbd5: nbd_connect_uri: transition: NEWSTYLE.OPT_STRUCTURED_REPLY.START -> NEWSTYLE.OPT_STRUCTURED_REPLY.SEND [1]: libnbd: debug: nbd5: nbd_connect_uri: transition: NEWSTYLE.OPT_STRUCTURED_REPLY.SEND -> NEWSTYLE.OPT_STRUCTURED_REPLY.RECV_REPLY debug: newstyle negotiation: client flags: 0x3libnbd: debug: nbd5: nbd_connect_uri: poll start: events=1 nbdkit: full[1]: debug: newstyle negotiation: NBD_OPT_STRUCTURED_REPLY: client requested structured replies libnbd: debug: nbd5: nbd_connect_uri: poll end: r=1 revents=1 libnbd: debug: nbd5: nb...
2019 Sep 11
4
[PATCH nbdkit] tests: Convert some tests to use nbdsh instead of qemu-io.
Very much a work in progress as there are still many tests using qemu-io which are candidates for conversion. You'll notice at the end of test-full.sh that the new test has some duplicated code which looks as if it ought to be refactored into a Python function. When I tried to do that, I got loads of strange Python problems which may indicate bugs in nbdsh itself or problems with my
2019 May 19
0
[libnbd PATCH 4/4] states: Add NBD_OPT_EXPORT_NAME handling
...[ NotifyWrite, "" ]; + }; + + State { + default_state with + name = "SEND_EXPORT"; + comment = "Send newstyle NBD_OPT_EXPORT_NAME export name"; + external_events = [ NotifyWrite, "" ]; + }; + + State { + default_state with + name = "RECV_REPLY"; + comment = "Receive newstyle NBD_OPT_EXPORT_NAME reply"; + external_events = [ NotifyRead, "" ]; + }; + + State { + default_state with + name = "CHECK_REPLY"; + comment = "Check newstyle NBD_OPT_EXPORT_NAME reply"; + external_event...
2006 Jul 18
6
backgroundrb - Connection closed
...og. I appreciate any help on this matter. Greetings Michael Kastner --- errror message --------------------------------------------------------- DRb::DRbConnError (connection closed): /usr/local/lib/ruby/1.8/drb/drb.rb:567:in `load'' /usr/local/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'' /usr/local/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply'' /usr/local/lib/ruby/1.8/drb/drb.rb:1192:in `send_message'' /usr/local/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'' /usr/local/lib/ruby/1.8/drb/drb.rb:1167:in `open'' /usr/...
2020 Sep 28
0
[libnbd PATCH 2/3] generator: Rename OPT_SET_META_CONTEXT states
...D); return 0; case 0: @@ -133,13 +133,13 @@ STATE_MACHINE { } return 0; - NEWSTYLE.OPT_SET_META_CONTEXT.PREPARE_FOR_REPLY: + NEWSTYLE.OPT_META_CONTEXT.PREPARE_FOR_REPLY: h->rbuf = &h->sbuf.or.option_reply; h->rlen = sizeof h->sbuf.or.option_reply; SET_NEXT_STATE (%RECV_REPLY); return 0; - NEWSTYLE.OPT_SET_META_CONTEXT.RECV_REPLY: + NEWSTYLE.OPT_META_CONTEXT.RECV_REPLY: switch (recv_into_rbuf (h)) { case -1: SET_NEXT_STATE (%.DEAD); return 0; case 0: @@ -151,14 +151,14 @@ STATE_MACHINE { } return 0; - NEWSTYLE.OPT_SET_META_CONTEXT.RECV_REPLY_PAYLOAD:...
2019 Jun 25
0
Re: [libnbd PATCH] states: Never block state machine inside REPLY
...with > name = "START"; > comment = "Prepare to receive a reply from the remote server"; > - external_events = [ NotifyRead, "" ]; > + external_events = []; > }; > > State { > default_state with > name = "RECV_REPLY"; > comment = "Receive a reply from the remote server"; > - external_events = [ NotifyRead, "" ]; > + external_events = []; > }; > > State { > @@ -723,7 +723,7 @@ and simple_reply_state_machine = [ > default_state with >...
2019 May 19
5
[libnbd PATCH 0/4] Various interop fixes
Some of these affect attempts to connect to older qemu-nbd versions, some of them were triggered by manual edits to qemu-nbd source code to provoke various other compliant (if uncommon) server behaviors. Eric Blake (4): starttls: Skip error payload if falling back to unencrypted states: Reject payload to NBD_REP_ACK meta-context: Skip error payload if server lacks meta_context states: Add
2019 Jun 14
0
[libnbd PATCH 5/7] states: Factor out NBD_REP payload prep
...89741 100755 --- a/generator/generator +++ b/generator/generator @@ -373,8 +373,8 @@ and newstyle_opt_starttls_state_machine = [ State { default_state with - name = "SKIP_REPLY_PAYLOAD"; - comment = "Skip newstyle NBD_OPT_STARTTLS reply payload"; + name = "RECV_REPLY_PAYLOAD"; + comment = "Receive any newstyle NBD_OPT_STARTTLS reply payload"; external_events = [ NotifyRead, "" ]; }; @@ -425,8 +425,8 @@ and newstyle_opt_structured_reply_state_machine = [ State { default_state with - name = "SKIP_REPLY_PAYLOAD...
2019 Jun 19
4
[libnbd PATCH] states: Never block state machine inside REPLY
...nd reply_state_machine = [ default_state with name = "START"; comment = "Prepare to receive a reply from the remote server"; - external_events = [ NotifyRead, "" ]; + external_events = []; }; State { default_state with name = "RECV_REPLY"; comment = "Receive a reply from the remote server"; - external_events = [ NotifyRead, "" ]; + external_events = []; }; State { @@ -723,7 +723,7 @@ and simple_reply_state_machine = [ default_state with name = "RECV_READ_PAYLOAD";...
2019 Jun 14
10
[libnbd PATCH 0/7] state machine refactoring
I'm still playing with ideas on how to split rstate from wstate (so that we can send a request without waiting for POLLIN to complete a pending reply), but this is some preliminary refactoring I found useful. I also fixed a couple of bugs while in the area (already pushed). There's a question of whether we want nbd_handle to be nearly 5k, or if we should instead keep it small and add one
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
...just spits out a log message (code at the bottom). Thanks, -Pascal >From log/background_server.log : Connection reset by peer - (DRb::DRbConnError) /usr/lib/ruby/1.8/drb/drb.rb:563:in `read'' /usr/lib/ruby/1.8/drb/drb.rb:563:in `load'' /usr/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'' /usr/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply'' /usr/lib/ruby/1.8/drb/drb.rb:1192:in `send_message'' /usr/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'' /usr/lib/ruby/1.8/drb/drb.rb:1167:in `open'' /usr/lib/ruby/1.8/drb/drb.rb:1082:in `method_missing...
2019 Jun 29
0
[libnbd PATCH 2/6] generator: Allow DEAD state actions to run
...EXPORT_NAME.SEND_EXPORT: switch (send_from_wbuf (h)) { - case -1: SET_NEXT_STATE (%.DEAD); return -1; + case -1: SET_NEXT_STATE (%.DEAD); return 0; case 0: h->rbuf = &h->sbuf; h->rlen = sizeof h->sbuf.export_name_reply; @@ -53,7 +53,7 @@ NEWSTYLE.OPT_EXPORT_NAME.RECV_REPLY: switch (recv_into_rbuf (h)) { - case -1: SET_NEXT_STATE (%.DEAD); return -1; + case -1: SET_NEXT_STATE (%.DEAD); return 0; case 0: SET_NEXT_STATE (%CHECK_REPLY); } return 0; @@ -66,7 +66,7 @@ eflags = be16toh (h->sbuf.export_name_reply.eflags); if (nbd_internal_set_size_and...
2020 Jul 20
0
[PATCH libnbd PROPOSAL] Add APIs for listing exports from an NBD server.
...ot;; + external_events = []; + }; + + State { + default_state with + name = "SEND"; + comment = "Send newstyle NBD_OPT_LIST to being listing exports"; + external_events = [ NotifyWrite, "" ]; + }; + + State { + default_state with + name = "RECV_REPLY"; + comment = "Receive newstyle NBD_OPT_LIST reply"; + external_events = [ NotifyRead, "" ]; + }; + + State { + default_state with + name = "RECV_REPLY_PAYLOAD"; + comment = "Receive any newstyle NBD_OPT_LIST reply payload"; + externa...
2007 Jan 30
1
Backgroundrb weirdness with multiple mongrels
...roundrb/server/lib/backgroundrb/middleman.rb:199:in `new_worker'' And: 20070130-12:00:05 (92080) connection closed - (DRb::DRbConnError) 20070130-12:00:05 (92080) /usr/local/lib/ruby/1.8/drb/drb.rb:570:in `load'' 20070130-12:00:05 (92080) /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' 20070130-12:00:05 (92080) /usr/local/lib/ruby/1.8/drb/drb.rb:921:in `recv_reply'' 20070130-12:00:05 (92080) /usr/local/lib/ruby/1.8/drb/drb.rb:1195:in `send_message'' 20070130-12:00:05 (92080) /usr/local/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing'' 20070130-12...
2007 May 22
0
BackgroundRb Server not responding
...22-07:33:36 (5030) Connection reset by peer - (DRb::DRbConnError) 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `read'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `load'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:921:in `recv_reply'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1195:in `send_message'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing'' 20070522-07:33...
2007 Apr 23
0
backgroundrb and REXML issue
...undrb.log: 20070423-13:36:41 (8456) Connection reset by peer - (DRb::DRbConnError) 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:563:in `read'' 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:563:in `load'' 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'' 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply'' 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:1192:in `send_message'' 20070423-13:36:41 (8456) /usr/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'' 20070423-13:36:41 (8456) /usr/li...
2020 Jul 20
2
[PATCH libnbd PROPOSAL] Add APIs for listing exports from an NBD server.
Proposal for new APIs to list exports. The general shape of the API can probably best be seen from the examples/list-exports.c example. Rich.
2007 Mar 31
8
Problem with setting up remote indexing
...;'t work (I use id_multi_search btw so need to add :store_class_name => true to my models as well). The following is the error description: DRb::DRbConnError (too large packet 1213486160): C:/ruby/lib/ruby/1.8/drb/drb.rb:573:in `load'' C:/ruby/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' C:/ruby/lib/ruby/1.8/drb/drb.rb:921:in `recv_reply'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1195:in `send_message'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing'' C:/ruby/lib/ruby/1.8/drb/drb.rb:1170:in `open'' C:/ruby/lib/ruby/1.8/d...
2023 Aug 03
1
[libnbd PATCH v4 20/25] generator: Actually request extended headers
...external_events = []; + }; + + State { + default_state with + name = "SEND"; + comment = "Send newstyle NBD_OPT_EXTENDED_HEADERS negotiation request"; + external_events = [ NotifyWrite, "" ]; + }; + + State { + default_state with + name = "RECV_REPLY"; + comment = "Receive newstyle NBD_OPT_EXTENDED_HEADERS option reply"; + external_events = [ NotifyRead, "" ]; + }; + + State { + default_state with + name = "RECV_REPLY_PAYLOAD"; + comment = "Receive any newstyle NBD_OPT_EXTENDED_HEADERS re...