unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* url-retrieve-synchronously fails to read until the end from https
@ 2007-11-29 13:09 Vitaly Mayatskikh
  2007-11-29 16:45 ` Magnus Henoch
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Mayatskikh @ 2007-11-29 13:09 UTC (permalink / raw)
  To: emacs-devel

I'm working with xml-rpc.el and often have broken xml
result. When I traced the problem I noticed that
url-retrieve-synchronously often fails to read until the end
of result data from https urls and xml parser has to work with cutted
xml (gnutls-cli/openssl - doesn't matter). Have no this problem when
tunneling requests to server with stunnel4.

Tried with emacs/cvs, gnutls 1.6.3/2.0.4, openssl 0.9.8b.
-- 
wbr, Vitaly

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: url-retrieve-synchronously fails to read until the end from https
  2007-11-29 13:09 url-retrieve-synchronously fails to read until the end from https Vitaly Mayatskikh
@ 2007-11-29 16:45 ` Magnus Henoch
  0 siblings, 0 replies; 2+ messages in thread
From: Magnus Henoch @ 2007-11-29 16:45 UTC (permalink / raw)
  To: emacs-devel

Vitaly Mayatskikh <v.mayatskih@gmail.com> writes:

> I'm working with xml-rpc.el and often have broken xml
> result. When I traced the problem I noticed that
> url-retrieve-synchronously often fails to read until the end
> of result data from https urls and xml parser has to work with cutted
> xml (gnutls-cli/openssl - doesn't matter). Have no this problem when
> tunneling requests to server with stunnel4.
>
> Tried with emacs/cvs, gnutls 1.6.3/2.0.4, openssl 0.9.8b.

What do you get in the buffer *URL-DEBUG* if you set url-debug to t?
What is the output when you trace url-http-end-of-document-sentinel and
url-http-generic-filter?

Magnus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-29 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 13:09 url-retrieve-synchronously fails to read until the end from https Vitaly Mayatskikh
2007-11-29 16:45 ` Magnus Henoch

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).