You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's not great! @vanHoesel, do you know what the correct behaviour here is? Just send a Content-Length of 0? It's not clear to me what the use case is for sending an empty file.
HTTP-Daemon/lib/HTTP/Daemon.pm
Line 546 in b902312
Using send_file_response with empty file suppress "Content-Length" header line, because "if $size" contstruction treated as false.
Then library succsessfully complete operation with RC_OK code, but HTTP client waits data from server, and timeout occured as a result.
Removing "if $size" resolve this problem.
The text was updated successfully, but these errors were encountered: