View Issue Details

IDProjectCategoryView StatusLast Update
0001639libmicrohttpdHTTP 1.1 request pipeliningpublic2011-02-15 12:19
Reportersoumyad Assigned ToChristian Grothoff  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.4 
Summary0001639: Using MHD_create_response_from_fd causes the server hang waiting for acquiring mutex lock
DescriptionHi,

I am trying to use MHD_create_response_from_fd to create the response but it makes the application to hang as the thread waits to acquire the mutex lock. From the stack trace and the source it seems there is a double lock. Please look at the stack trace pasted below.

0 semaphore_wait_signal_trap
1 pthread_mutex_lock
2 file_reader file: response.c line: 275
3 try_ready_normal_body file: connection.c line: 345
4 MHD_connection_handle_idle file: connection.c line: 2160
5 MHD_handle_connection file: connection.c line: 619
6 _pthread_start
7 thread_start

Please help and let me know if I am missing something. Thanks in advance.

Regards,
Soumya
TagsNo tags attached.

Activities

Christian Grothoff

2011-01-05 15:22

manager   ~0004224

You're right. Fixed in SVN 14113.

Issue History

Date Modified Username Field Change
2011-01-03 20:12 soumyad New Issue
2011-01-05 15:22 Christian Grothoff Note Added: 0004224
2011-01-05 15:22 Christian Grothoff Status new => resolved
2011-01-05 15:22 Christian Grothoff Resolution open => fixed
2011-01-05 15:22 Christian Grothoff Assigned To => Christian Grothoff
2011-02-15 12:19 Christian Grothoff Status resolved => closed
2013-05-06 12:54 Christian Grothoff Category request pipelining => HTTP 1.1 request pipelining