[
https://issues.apache.org/jira/browse/PROTON-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418064#comment-16418064
]
Jiri Daněk edited comment on PROTON-1809 at 3/28/18 8:30 PM:
-
Aha, so one additional mystery is solved, then. When I was comparing
PN_TRACE_FRMs from proton-cpp binding and proton-ruby (for PROTON-1789), I
noticed this difference between
ruby: {{stderr: "[0x229b5a0]:0 -> @begin(17) [next-outgoing-id=0,
incoming-window=1, outgoing-window=2147483647]"}}
cpp: {{stderr: "[0x1bca1a0]:0 -> @begin(17) [next-outgoing-id=0,
incoming-window=2147483647, outgoing-window=2147483647]"}}
and I wondered what the low incoming-window signifies; should've done something
about it, not just wonder a bit and then move on...
was (Author: jdanek):
Aha, so one additional mystery is solved, then. When I was comparing
PN_TRACE_FRMs from proton-cpp binding and proton-ruby (for PROTON-1789), I
noticed this difference between
ruby: {{stderr: "[0x229b5a0]:0 -> @begin(17) [next-outgoing-id=0,
incoming-window=1, outgoing-window=2147483647]"}}
cpp: {{stderr: "[0x1bca1a0]:0 -> @flow(19) [incoming-window=2147483647,
next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0,
link-credit=10, drain=false]"}}
and I wondered what the low incoming-window signifies; should've done something
about it, not just wonder a bit and then move on...
> [python, ruby] Unable to receive messages when max-frame-size is set to more
> than 2^20
> --
>
> Key: PROTON-1809
> URL: https://issues.apache.org/jira/browse/PROTON-1809
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding, ruby-binding
>Affects Versions: proton-c-0.22.0
> Environment: RHEL 7 x86_64
>Reporter: Radim Kubis
>Assignee: Alan Conway
>Priority: Minor
>
> *Python:*
> {code:java}
> def on_session_init(self, event):
> event.transport._set_max_frame_size(VALUE)
> {code}
> I noticed that the receiver is not able to receive messages when the value
> for max-frame-size is larger than 2^20 (1048576) bytes (remote_max_frame_size
> is 4294967295). I'm not really sure if that is expected. This may be
> reproduced when adding the code above ie.: to simple_recv.py.
> Note: This is not a good use case as setting the max-frame-size in
> on_session_init is really too late. But given that it is too late to set the
> max-frame-size, I would expect it won't have any effect on the client.
>
> *Ruby:*
> From [https://github.com/rh-messaging/cli-proton-ruby]
> [cli-proton-ruby|https://github.com/rh-messaging/cli-proton-ruby]
> {{cli-proton-ruby-receiver -b -c --log-msgs dict
> --conn-max-frame-size 1048577}}
> Receiver is stuck.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org