Re: http_open in swi-prolog

From: Carlo Capelli (capelli_at_rdbos.it)
Date: 10/06/04


Date: Wed, 6 Oct 2004 09:41:04 +0200


"Jan Wielemaker" <jan@ct.xs4all.nl> ha scritto nel messaggio
news:slrncm5dkf.n2v.jan@ct.xs4all.nl...
> In article <5Yx8d.18172$eb.14090@tornado.fastwebnet.it>, Carlo Capelli
wrote:
> > I'm currently running version 5.4.2, althoug the sample code come from
> > previous download/setup (I think that was 5.2.13, the download file is
> > w32pl5213.exe).
> > My system is Windows 2000, version 5.00.2195, service pack 3, and I
don't
> > experiment any anomaly browsing the Web.
> > Maybe I must delete eventually precompiled library code? I think the
setup
> > program already does...
> > I think I should debug lower level, near to socket, if possible...
> > Many thanks again, by Carlo
>
> At the real low level you can use the undocumented ?- tcp_debug(+Level).
> call (0<=Level<=9). You need the sourcecode next to it to see what it
> all means :-)
>
> More likely, could there be a proxy in between? Some other security
> filter closing the connection because it doesn't like this program
> making connections, or doesn't like the user agent identifier Prolog
> uses?
>
> Success --- Jan

Yes, I tried from home, where I run a Windows XP Home laptop with dialup
connection, and all was OK.
At workplace effettively there is a proxy. Passing that option to http_open
make all work fine.

Many tanks again and congratulation for your outstanding work.

Bye Carlo.



Relevant Pages

  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... The graphed 'events' are individually and asynchronously provided from the server to the client over a persistent connection and each respective graphical element is equally asynchronously updated. ... However it can emulate asynchronous, raw network streams via a Web Socket server / raw IP network proxy. ... If you mean Web Sockets can't through existing HTTP proxy then the ...
    (comp.os.vms)
  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... other requests while it's streaming its long-poll (or words to that effect ... If you mean Web Sockets can't through existing HTTP proxy then the ... Orbited is a service used to accept Web-style socket connection ...
    (comp.os.vms)
  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... Isn't asocket proxy that doesn't explicitly talk HTTP during setup a one-to-one NAT router? ... And if accepting external connection requests, a static port mapping NAT router, into/through the DMZ and onto internal services? ... Of course it's a bit more than that Until Web Sockets become commonplace it uses a number of approaches to *emulate* asynchronous comms with current browsers. ... Mandatory Upgrade ...
    (comp.os.vms)
  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... originated by the proxy. ... Mandatory Upgrade ... Connection: Upgrade ... I had the most success using GET without a Connection: Upgrade header. ...
    (comp.os.vms)
  • Banana Republic (was Re: OpenVMS Book Wins award)
    ... originated by the proxy. ... Mandatory Upgrade ... Connection: Upgrade ... I had the most success using GET without a Connection: Upgrade header. ...
    (comp.os.vms)