You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2020/02/25 14:23:25 UTC

[GitHub] [qpid-dispatch] kgiusti commented on a change in pull request #692: DISPATCH-975: Implement max-message-size policy restrictions

kgiusti commented on a change in pull request #692: DISPATCH-975: Implement max-message-size policy restrictions
URL: https://github.com/apache/qpid-dispatch/pull/692#discussion_r383908936
 
 

 ##########
 File path: src/message_private.h
 ##########
 @@ -109,6 +109,8 @@ typedef struct {
     qd_parsed_field_t   *ma_pf_to_override;
     qd_parsed_field_t   *ma_pf_trace;
     int                  ma_int_phase;
+    int                  max_message_size;               // configured max; 0 if no max to enforce
+    int                  bytes_received;                 // returned by pn_link_recv()
 
 Review comment:
   I'd recommend making these both uint64_t.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org