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

Ádám Markovics commented on MINIFICPP-1898:
-------------------------------------------

CivetWeb's default implementations for request handlers (including PUT and 
DELETE) return error codes, indicating they didn't handle the request 
(returning _false_). Then control flow goes on a strange way, using _goto_ to 
jump inside a function. Earlier version of the library didn't have an assert on 
this path, the new one does. It's saying "we have a handler, but we don't". So 
my answer to this is providing overriding handlers in the user code.

> ListenHTTP test fails
> ---------------------
>
>                 Key: MINIFICPP-1898
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1898
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Ádám Markovics
>            Assignee: Ádám Markovics
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In local builds, the above mentioned test fails with SIGSEGV. But it doesn't 
> occur in CI.
> It turned out that the first commit that made this happen was 
> 0bf8ce968bdebfa6867eb339049bfabca19e5df0
> Maybe it only happens in debug mode, that could be a difference, because an 
> assert makes the test fail and they are not compiled in release mode.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to