[Top][All Lists]
[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:18:16 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> emacs_gnutls_write() does "fsync (STDOUT_FILENO)" after each write.
> This is a leftover from Simon's original patch:
>
> printf("wrote %d bytes\n", bytes_written);
> fsync(STDOUT_FILENO);
>
> and I forgot to take it out. Can you remove it? I can't push that
> commit currently, sorry. If that turns out to be the trigger...
Ok, fixed.
I think the main problem was that emacs_gnutls_read() returned 0 instead
something negative on errors. Fixing that allows me to read lots of
data via gnutls.
However, if I set the debugging level to 9, I get the following:
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")
(let ((process (open-gnutls-stream "http" (current-buffer)
"chepa.netfonds.no" "https"))) (process-send-string process "GET /market.php
HTTP/1.0.\n.\n"))
eval((let ((process (open-gnutls-stream "http" (current-buffer)
"chepa.netfonds.no" "https"))) (process-send-string process "GET /market.php
HTTP/1.0.\n.\n")))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
Hm. Hm?
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Testing the gnutls support, Lars Magne Ingebrigtsen, 2010/10/07
- Re: Testing the gnutls support, Ted Zlatanov, 2010/10/08
- Re: Testing the gnutls support,
Lars Magne Ingebrigtsen <=
- Re: Testing the gnutls support, Eli Zaretskii, 2010/10/09
- Re: Testing the gnutls support, Lars Magne Ingebrigtsen, 2010/10/09
- Re: Testing the gnutls support, Ted Zlatanov, 2010/10/10
- Re: Testing the gnutls support, Lars Magne Ingebrigtsen, 2010/10/10
- Re: Testing the gnutls support, Ted Zlatanov, 2010/10/11
- Re: Testing the gnutls support, Lars Magne Ingebrigtsen, 2010/10/11
- Re: Testing the gnutls support, Ted Zlatanov, 2010/10/11
- Re: Testing the gnutls support, Lars Magne Ingebrigtsen, 2010/10/14