You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/04/07 16:18:32 UTC

[GitHub] [nifi] turcsanyip commented on a change in pull request #4191: NIFI-7314 HandleHttpRequest stops Jetty in OnUnscheduled

turcsanyip commented on a change in pull request #4191: NIFI-7314 HandleHttpRequest stops Jetty in OnUnscheduled
URL: https://github.com/apache/nifi/pull/4191#discussion_r404938898
 
 

 ##########
 File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
 ##########
 @@ -547,6 +558,32 @@ public void shutdown() throws Exception {
         }
     }
 
+    void rejectPendingRequests() {
+        HttpRequestContainer container;
+        while ((container = getNextContainer()) != null) {
+            try {
+                HttpServletResponse response = container.getResponse();
 
 Review comment:
   Could you please add a warning log message here as in case of the other `sendError()` calls.

----------------------------------------------------------------
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