Re: SChannel context & HTTPS requests

From: Alun Jones [MS MVP] (alun_at_texis.invalid)
Date: 03/29/04


Date: Mon, 29 Mar 2004 19:33:34 GMT

In article <eUX9c.4694$yN6.2840@newsread2.news.atl.earthlink.net>, "Matt
Fausey" <fausey@earthlink.net> wrote:
>The Microsoft example in the Platform SDK samples shows how to
>establish the connection, send a single HTTP request, received the response,
>and close the connection. I would like to: 1) establish the connection,
>2) do several request/response round trips, and finally 3) close the
>connection.
>
>Is this possible?

Sure - make sure you're using persistent connections. RFC 2616 says that
this should be the default mode of operation in HTTP 1.1, but for HTTP 1.0,
you'll need to send the Connection: Keep-Alive header.

The samples are simple, because they are supposed to each illustrate a
particular part of the process, or technique. Very few samples are complete
apps in themselves.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]

-- 
Texas Imperial Software   | Find us at http://www.wftpd.com or email
1602 Harvest Moon Place   | alun@texis.com.
Cedar Park TX 78613-1419  | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(512)258-9858 | Try our NEW client software, WFTPD Explorer.


Relevant Pages

  • RE: RPC Over HTTP
    ... Normally running the CEICW (configure e-mail and internet connection ... wizard) and allowing RPC over HTTP option on the ... Web services configuration page should configur your server to allow RPC ... Verify that the certificate is installed by going to ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot connect via http but https works?
    ... Only one computer of three on my adhoc workgroup reports this error. ... only HTTP won't work. ... regsvr32 SOFTPUB.DLL ... computer and try to establish a connection and try the link, ...
    (microsoft.public.windowsxp.network_web)
  • Re: RPC over HTTP problem for some users only
    ... This will cause the Exchange ... The default connection methodology for Outlook 2003 when RPC/HTTP is ... Fast - TCP/IP then HTTP ...
    (microsoft.public.outlook.installation)
  • Re: RPCoHTTP always has 4 failures
    ... ON fast networks, connect using HTTP first, then connect using TCP/IP ... Outlook doesn't even prompt me to log in, it just says the server is ... Warning If you use Registry Editor incorrectly, ... It always shows HTTPS as the protocol in the connection ...
    (microsoft.public.exchange.admin)
  • RE: Yet another thread on the legality of port scanning
    ... Authorized users are told they are authorized users. ... is an acceptable connection in the absence of explicit permission? ... expected to be a public http server. ...
    (Security-Basics)