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

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

kgiusti commented on pull request #698: DISPATCH-975: Enforce max message size 
on message ingress
URL: https://github.com/apache/qpid-dispatch/pull/698#discussion_r389804469
 
 

 ##########
 File path: src/router_node.c
 ##########
 @@ -1884,3 +1885,12 @@ void qd_link_restart_rx(qd_link_t *in_link)
         qd_connection_invoke_deferred(in_conn, deferred_AMQP_rx_handler, 
safe_ptr);
     }
 }
+
+
+// prepend formatted connection and link info to policy denial text and log it
+void qd_connection_log_policy_denial(qd_link_t *link, const char *text)
+{
+    qdr_link_t *rlink = (qdr_link_t*) qd_link_get_context(link);
 
 Review comment:
   The qdr_link_t has a separate lifecycle from the qd_link_t.  IOW you'll want 
to check that rlink is not null here.
 
----------------------------------------------------------------
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