[ 
https://issues.apache.org/jira/browse/DISPATCH-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044484#comment-17044484
 ] 

ASF GitHub Bot commented on DISPATCH-975:
-----------------------------------------

kgiusti commented on 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:
[email protected]


> Policy has no provision for limiting user message size
> ------------------------------------------------------
>
>                 Key: DISPATCH-975
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-975
>             Project: Qpid Dispatch
>          Issue Type: Bug
>            Reporter: Charles E. Rolke
>            Assignee: Charles E. Rolke
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to