emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing the gnutls support


From: Lars Magne Ingebrigtsen
Subject: Re: Testing the gnutls support
Date: Sat, 09 Oct 2010 15:56:04 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> Debugger entered--Lisp error: (file-error "writing to process" "interrupted 
>> system call" #<process http<1>>)
>>   process-send-string(#<process http<1>> "GET /market.php HTTP/1.0.\n.\n")
>
> That's strange.  process-send-string calls emacs_write to write to the
> process, but emacs_write already handles EINTR, by retrying the write
> which failed.  So why does this signal raise a Lisp error?

This is in emacs_gnutls_write, not emacs_write.  But thanks for the
tip -- it was indeed faulty EINTR handling.  I've now peeked at the
gnutls documentation and changed it to use the proper EINTR handling it
needs, and it seems to work in my test cases now.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]