You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A direct message request with max_bytes but no seq (starting sequence) fails with status message "408 Empty Request" instead of returning messages.
Proposed change
Default the seq to 1
Server version
Server v2.11.0-dev
Steps to reproduce
Create a new stream and publish 5 messages with payloads of 100 bytes. Post a DIRECT.GET with {"batch":5,"max_bytes":150} and one with {"batch":5,"max_bytes":150,"seq":1}
The text was updated successfully, but these errors were encountered:
scottf
changed the title
Do not require "seq" field on DIRECT GET with max_bytes supplied
Do not require "seq" field on DIRECT GET with "max_bytes" supplied
Oct 21, 2024
Observed behavior
A direct message request with
max_bytes
but noseq
(starting sequence) fails with status message "408 Empty Request" instead of returning messages.Proposed change
Default the
seq
to 1Server version
Server v2.11.0-dev
Steps to reproduce
Create a new stream and publish 5 messages with payloads of 100 bytes. Post a DIRECT.GET with
{"batch":5,"max_bytes":150}
and one with{"batch":5,"max_bytes":150,"seq":1}
The text was updated successfully, but these errors were encountered: