Detailed description |
|
When using generic skeletons, dpws_process_request calls the given callback function in which a parsing of incoming message is supposed to tak place. However if the EPX parser reaches the end of the body of the message by reaching the EPX_EVT_END_FRAGMENT event, than back in the dpws_process_request function at the line 122 there is a for cyclus, that consumes events that were not read and this cycle waits for the EPX_EVT_END_FRAGMENT which has been already read and thus the program ends in an infinite loop. The condition for exiting the loop shoud contain EPX_EVT_END_FRAGMENT && EPX_EVT_IDLE && EPX_EVT_ERROR I think. |
|