i am sending HTTP requests to send some base64 encoded data to server,i am reading this data from a file encode it and add this as a body part and sends it using the HTTP. when i submit request i got different events in MHFRunL method from HTTP framework such as THTTPEvent::EGotResponseHeaders,THTTPEvent::EGotResponseBodyData,THTTPEvent::ESucceeded or THTTPEvent::EFailed and according to these events i read some headers from the response during THTTPEvent::EGotResponseHeaders event and in THTTPEvent::ESucceeded or THTTPEvent::EFailed events i sends callbacks to other class which reads next binary data, encodes it add this data as body part of HTTP request and then submit it, so a cycle of request sending and getting response is started until all the data in a file is sent over the server using callbacks. According to the defined all above this process completes automatically. such as we will send request and wait for response, when we got response we prepare next request and send it.
but during all this process some times when i submit request and then nothing happens means i didn't get the events from HTTP frameworks in response. i might be think that its due to network connection break, if i am right how i can fix this issue?