edicl/drakma

Ending a continuation style request results in a tcp input timeout, drakma side never sends FIN packet

jkordani opened this issue · 1 comments

pseudocode example of the problem
(let ((server-handle (http-request blah :content :continuation
:method :post :keep-alive t :close nil...))) ; since it is a continuation, are keep-alive and close valid? ostensibly you want to keep the connection alive but do these parameters have more meaning for :continuation?
...
(funcall server-handle new-data t) ;;t indicates that we have more data to send
...
;;finally
(funcall server-handle nil nil) ;;nil should indicate that we are done.

later there is an input timeout on the socket, and in wireshark I can see that there is no FIN packet sent, we just stop transmission.

with keep-alive and close ommitted, a fin packet is sent out but I still encounter a timeout thrown from within finish-request