View Issue Details

IDProjectCategoryView StatusLast Update
0007196libmicrohttpdlibmicrohttpd APIpublic2022-03-17 21:18
Reporterbasch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.9.75 
Summary0007196: mhd_assert(0) after MHD_resume_connection()
DescriptionHello,

I think I've stumbled over a minor bug in MHD.

If a connection is suspended in the response-callback (MHD_suspend_connection() and return 0) and resumed at some later point through MHD_resume_connection(), this is what happens:

* connection has event_loop_info=MHD_EVENT_LOOP_INFO_WRITE and
  state=MHD_CONNECTION_NORMAL_BODY_UNREADY/MHD_CONNECTION_CHUNKED_BODY_UNREADY
* daemon.c:call_handlers() -> connection.c:MHD_connection_handle_write() -> switch(state) -> assert(0)

Thanks and regards!
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-03-17 21:18 basch New Issue