libsoup-2

Joe Marcus Clarke marcus at marcuscom.com
Wed Feb 18 15:26:29 PST 2004


On Wed, 2004-02-18 at 16:29, Randy Sato wrote:
> I am trying to use libsoup-2.1.5 on:

Try upgrading to 2.1.7, and see if the problem persists?  Does this
happen with libsoup-1.99.26_1 from the main ports tree?

Joe

> 
> FreeBSD kirin 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Mon Jan 26 11:12:57 PST 2004    root at kirin:/usr/src/sys/alpha/compile/MYKERN  alpha
> 
> The simple test program "get" fails with the message:
> 
> 
> : 7 Connection terminated unexpectedly
> 
> 
> The actual problem is much different. It appears that g_io_channel_read_chars() which I believe is just calling read() on the socket descriptor, is returning results with extraneous data. For instance
> get http://www.ximian.com should return something like:
> 
> : 200 OK
>  
> 
> 
> 
> 
> 
>      
>   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>       <html>
> 
> but instead I get:
> 
> HTTP/1.1 200 OK
> 
> Date: Tue, 17 Feb 2004 21:01:27 GMT
> 
> Server: Apache/2.0.45 (Red Hat Linux)
> 
> X-Powered-By: PHP/4.3.2
> 
> X-Accelerated-By: PHPA/1.3.3r2
> 
> Connection: close
> 
> Transfer-Encoding: chunked
> 
> Content-Type: text/html; charset=UTF-8
> 
> 
> 
> 1
> 
> 
> 
> 
> 3
> 
> 
> 
> 
> 
> 
> 2
> 
> 
> 
> 
> 
> 4001
> 
>     
>   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>       <html>
> 
> These extra characters mess up read_metadata() because SOUP_MESSAGE_IO_DOUBLE_EOL is never found, and the read eventually reads till EOF and the connection terminates unexpectedly.
> 
> I have glib-2.2.3_1 on my system.
> 
> Tesing libsoup-2 using "get" on linux ppc and Solaris both work correctly.
> 
> Is anybody else seeing this, or better yet any clues on how to fix this would be great.
> 
> Randy
> 
> 
>  
> 
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040218/6c252e01/attachment.bin


More information about the freebsd-gnome mailing list