cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re:Re "On connected" callback function

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 30 Mar 2009 10:09:33 +0200 (CEST)

On Mon, 30 Mar 2009, thhk nhkr wrote:

> Not really a protocol, I'll explain, some of the HTTP servers we are
> connecting to, demands clients to "Login" after connecting.
>
> By "Login" I mean that the server is waiting to certain message that will be
> sent by the client (typically it will contain user name and password).
>
> Just after this Login request was successfully ended the server will allow
> the client to send other requests to him.

Either way, it's a hideous and broken approach for HTTP. I'd strongly urge you
to convince them to instead use a proper HTTP(S) athorization.

-- 
  / daniel.haxx.se
Received on 2009-03-30