Subject: bug#9592: Problems with url-http, https, POSTS, reusing connections, and trailing CRLF after POST data

From: Chong Yidong <[email-masked]>
Date: Sun, 11 Mar 2012 23:22:39 +0800

"Christopher J. White" <[email-masked]> writes:

>   http -> url-http-end-of-document-sentinel in buffer ( *http api.toodledo.com:443*<48>)
>   http -> Marking connection as free: api.toodledo.com:443 #<process api.toodledo.com>
> ...
>
> Along with the failure, I get the following backtrace:
>
>   Debugger entered--Lisp error: (file-error "writing to process" "invalid argument" #<process api.toodledo.com>)

I just committed a fix to trunk which fixes how url-http handles expired
keepalive connections (revno 107567), which might be relevant to this
bug.  Could you check if it fixes the issue you reported here?