View Issue Details

IDProjectCategoryView StatusLast Update
0001639libmicrohttpdHTTP 1.1 request pipeliningpublic2011-02-15 11:19
Reportersoumyad Assigned ToChristian Grothoff Due Date
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 14:22

manager   ~0004224

You're right. Fixed in SVN 14113.

Issue History

Date ModifiedUsernameFieldChange
2011-01-03 19:12soumyadNew Issue
2011-01-05 14:22Christian GrothoffNote Added: 0004224
2011-01-05 14:22Christian GrothoffStatusnew => resolved
2011-01-05 14:22Christian GrothoffResolutionopen => fixed
2011-01-05 14:22Christian GrothoffAssigned To => Christian Grothoff
2011-02-15 11:19Christian GrothoffStatusresolved => closed
2013-05-06 10:54Christian GrothoffCategoryrequest pipelining => HTTP 1.1 request pipelining