[twsocket] THttpCli bug with test unit

2011-06-14 Thread Fastream Technologies
Hello,

I have come accross an issue that I recall I had made a workaround in the
past but cannot remember what it was. Perhaps it is time this bug is fixed.
The C++ code is at,
http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET to a URL
with no content-length and chunked encoding (connection: close), it does not
call onrequestdone! Checked with Wireshark and the response is returned to
the client. The test URL is dyndns.com (this is actually a part of our
dynamic DNS updater) and it should return "badauth".

I hope you can help.

Regards,

SubZero
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpCli bug with test unit

2011-06-14 Thread Fastream Technologies
Did my message appear on the list? This time I followed Francois' advice and
provided a test project which reproduces the issue easily. I suspect this is
something that got broken in recent months' versions.

Regards,

SZ
On Tue, Jun 14, 2011 at 12:07, Fastream Technologies wrote:

> Hello,
>
> I have come accross an issue that I recall I had made a workaround in the
> past but cannot remember what it was. Perhaps it is time this bug is fixed.
> The C++ code is at,
> http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET to a
> URL with no content-length and chunked encoding (connection: close), it does
> not call onrequestdone! Checked with Wireshark and the response is returned
> to the client. The test URL is dyndns.com (this is actually a part of our
> dynamic DNS updater) and it should return "badauth".
>
> I hope you can help.
>
> Regards,
>
> SubZero
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpCli bug with test unit

2011-06-14 Thread Fastream Technologies
Hello,

I have debugged the issue. It works on older ICS versions but with newer
versions, URL
http://fastream:g...@members.dyndns.org/nic/update?system=dyndns&wildcards=nochg&hostname=abc.dyndns.org&myip=95.15.220.199
does state Connection: close but the server expects the client to close the
connection which confuses ICS.

Regards,

SZ
On Tue, Jun 14, 2011 at 13:39, Fastream Technologies wrote:

> Did my message appear on the list? This time I followed Francois' advice
> and provided a test project which reproduces the issue easily. I suspect
> this is something that got broken in recent months' versions.
>
> Regards,
>
> SZ
> On Tue, Jun 14, 2011 at 12:07, Fastream Technologies 
> wrote:
>
>> Hello,
>>
>> I have come accross an issue that I recall I had made a workaround in the
>> past but cannot remember what it was. Perhaps it is time this bug is fixed.
>> The C++ code is at,
>> http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET to a
>> URL with no content-length and chunked encoding (connection: close), it does
>> not call onrequestdone! Checked with Wireshark and the response is returned
>> to the client. The test URL is dyndns.com (this is actually a part of our
>> dynamic DNS updater) and it should return "badauth".
>>
>> I hope you can help.
>>
>> Regards,
>>
>> SubZero
>>
>
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpCli bug with test unit

2011-06-14 Thread Arno Garrels
Fastream Technologies wrote:
> Hello,
> 
> I have come accross an issue that I recall I had made a workaround in
> the past but cannot remember what it was. Perhaps it is time this bug
> is fixed. The C++ code is at,
> http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET
> to a URL with no content-length and chunked encoding (connection:
> close), it does not call onrequestdone! Checked with Wireshark and
> the response is returned to the client. The test URL is dyndns.com
> (this is actually a part of our dynamic DNS updater) and it should
> return "badauth". 

Works fine with both your test case and OverbyteIcsHttpsTst demo here.
The response is HTTP/1.0 with a "Connection: close" header and not chunked
encoded. TSslHttpCli closes the connection and OnRequestDone is called,
the return is "badAuth".

-- 
Arno Garrels



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpCli bug with test unit

2011-06-14 Thread Fastream Technologies
Strange. Maybe my ICS is utdated or you do not define my defines. Will first
try to update and then let you know.

Regards,

SZ

On Tue, Jun 14, 2011 at 16:11, Arno Garrels  wrote:

> Fastream Technologies wrote:
> > Hello,
> >
> > I have come accross an issue that I recall I had made a workaround in
> > the past but cannot remember what it was. Perhaps it is time this bug
> > is fixed. The C++ code is at,
> > http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET
> > to a URL with no content-length and chunked encoding (connection:
> > close), it does not call onrequestdone! Checked with Wireshark and
> > the response is returned to the client. The test URL is dyndns.com
> > (this is actually a part of our dynamic DNS updater) and it should
> > return "badauth".
>
> Works fine with both your test case and OverbyteIcsHttpsTst demo here.
> The response is HTTP/1.0 with a "Connection: close" header and not chunked
> encoded. TSslHttpCli closes the connection and OnRequestDone is called,
> the return is "badAuth".
>
> --
> Arno Garrels
>
>
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpCli bug with test unit

2011-06-14 Thread Fastream Technologies
Sorry wrong alarm. A modification/workaround I had made (which turned out to
be no longer needed) to an old HTTPCli bug in the component caused it. ;-[

Regards,

SZ

On Tue, Jun 14, 2011 at 16:42, Fastream Technologies wrote:

> Strange. Maybe my ICS is utdated or you do not define my defines. Will
> first try to update and then let you know.
>
> Regards,
>
> SZ
>
> On Tue, Jun 14, 2011 at 16:11, Arno Garrels  wrote:
>
>> Fastream Technologies wrote:
>> > Hello,
>> >
>> > I have come accross an issue that I recall I had made a workaround in
>> > the past but cannot remember what it was. Perhaps it is time this bug
>> > is fixed. The C++ code is at,
>> > http://www.fastream.com/ics/HttpClientTest.rar and after a sync GET
>> > to a URL with no content-length and chunked encoding (connection:
>> > close), it does not call onrequestdone! Checked with Wireshark and
>> > the response is returned to the client. The test URL is dyndns.com
>> > (this is actually a part of our dynamic DNS updater) and it should
>> > return "badauth".
>>
>> Works fine with both your test case and OverbyteIcsHttpsTst demo here.
>> The response is HTTP/1.0 with a "Connection: close" header and not chunked
>> encoded. TSslHttpCli closes the connection and OnRequestDone is called,
>> the return is "badAuth".
>>
>> --
>> Arno Garrels
>>
>>
>>
>> --
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>>
>
>
>
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] SSL server and CLient cert.

2011-06-14 Thread daniel cc
Hi,
I am using SSL server and SSL client in my application,
can someone please inform,
what are the commercial certificates for the component?

This may not be a question related to the component but,
I would like to hear your opinions.

Thanks in advance

-daniel
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be