An http session that ends with a TCP Reset sent by the server

2013-06-13 Thread Darren Hoo
I use the web client module to access a web service as what follows scheme@(guile-user)> (use-modules (web client)) scheme@(guile-user)> (http-get "http://172.18.23.123/";) ERROR: In procedure get-bytevector-n!: ERROR: In procedure fport_fill_input: Connection reset by peer Entering a new promp

Re: guile 2.0.9 build on mingw

2013-06-13 Thread Eli Zaretskii
A few strange warnings and failures I saw while running the test suite, which I couldn't figure out or couldn't find a solution for: 1. Even after using -export-dynamic, the tests in foreign.test which use 'qsort' fail: Backtrace: In ice-9/boot-9.scm: 157: 16 [catch #t # ...]

Re: guile 2.0.9 build on mingw

2013-06-13 Thread Eli Zaretskii
The changes below work around the lack of h_error on Windows: --- libguile/net_db.c~0 2013-03-25 23:44:46.0 +0200 +++ libguile/net_db.c 2013-06-13 13:30:20.448923200 +0300 @@ -55,6 +55,47 @@ #include "libguile/net_db.h" #include "libguile/socket.h" +#ifdef __MINGW32__ +# define h_err

Re: guile 2.0.9 build on mingw

2013-06-13 Thread Eli Zaretskii
Here are a few more changes that fix problems exposed by the test suite. The patch below, which should be applied on top of the one I sent yesterday, is needed because open-pipe does this: (open-pipe* mode "/bin/sh" "-c" command)) and obviously there's no /bin/sh on Windows. --- libguile/p

Re: guile 2.0.9 build on mingw

2013-06-13 Thread Eli Zaretskii
> Date: Wed, 12 Jun 2013 20:57:38 +0300 > From: Eli Zaretskii > Cc: guile-user@gnu.org > > Finally, the tests in check-guile fail because they unconditionally > use features that are not compiled into the MinGW build or not > supported by it, like 'lstat', AF_UNIX in sockets, etc. Actually, that

An http session that ends with a TCP Reset sent by the server

2013-06-13 Thread Darren Hoo
I used web client to access a web service as what follows: scheme@(guile-user)> (use-modules (web client)) scheme@(guile-user)> (http-get "http://172.18.23.123/";) ERROR: In procedure get-bytevector-n!: ERROR: In procedure fport_fill_input: Connection reset by peer Entering a new prompt. Type `