Component hangs when uploading large file to Globa - WeOnlyDo Discussion board

Component hangs when uploading large file to Globa (wodHttpDLX)

by Kyle Johnson, Thursday, March 15, 2007, 18:21 (6261 days ago)

When using the HttpDLX component to perform a PUT over an HTTPS connection, it hangs when uploading large files (somewhere in the neighborhood of 3MB) to a GlobalScape EFT HTTPS server. Now, this certainly could be related to a problem on the server side, but it seems to me that the component should at least time out instead of hanging.

After traipsing through some assembler, I found out the following information:
- The component seems to be held up in some infinite loop where it uses a Windows API call, PeekMessage(), to get new messages from the hidden socket window.
- It grabs a user-defined message, (WM_USER + 1, 401h), and does something with it.
- During the loop, a call is made to a Windows API call, PostMessage(), to post another message to the hidden window message queue (message ID: WM_USER + 1).
- It then goes back to the top of the loop and checks for another message, repeating the process.

Hopefully that helps. If you have any more questions for me (memory offsets of code chunks, etc.), please let me know.

Thanks!

Kyle Johnson


Complete thread: