Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread silvioprog
2014-04-25 11:11 GMT-03:00 Michael Van Canneyt : > > On Fri, 25 Apr 2014, silvioprog wrote: > >> 2014-04-25 10:24 GMT-03:00 Michael Van Canneyt : >> On Fri, 25 Apr 2014, silvioprog wrote: >> 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt < >> mich...@freepascal.org>: >>

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 10:24 GMT-03:00 Michael Van Canneyt : On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...]        Damn windows returning 0 on read... Can you please test with t

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread silvioprog
2014-04-25 10:24 GMT-03:00 Michael Van Canneyt : > > On Fri, 25 Apr 2014, silvioprog wrote: > >> 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : >> [...] >> Damn windows returning 0 on read... Can you please test with the >> following change: >> >> Procedure FillBuffer; >> >>

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 10:05 GMT-03:00 silvioprog : 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure FillBuffer;    Var      R : Int

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure FillBuffer;    Var      R : Integer;    begin      SetLength(FBu

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread silvioprog
2014-04-25 10:05 GMT-03:00 silvioprog : > 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : > [...] > >> Damn windows returning 0 on read... Can you please test with the >> following change: >> >> >>Procedure FillBuffer; >> >>Var >> R : Integer; >> >>begin >> SetLength(FBuffer,

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-25 Thread silvioprog
2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...] > > Damn windows returning 0 on read... Can you please test with the following > change: > > >Procedure FillBuffer; > >Var > R : Integer; > >begin > SetLength(FBuffer,ReadBufLen); > Repeat >r:=FSocket.Read(FBuf

Re: [fpc-pascal] CustHttpApp again, error: "Missing HTTP protocol version in request"

2014-04-24 Thread Michael Van Canneyt
On Thu, 24 Apr 2014, silvioprog wrote: Hello, I've tested the CustHttpApp unit in new released FPC 2.6.4 on Windows, and the error "Missing HTTP protocol version in request" still continues. I'll show detailed steps (including my tools) to reproduce it: 1. on Windows (I'm using 8), download