This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Is HTTPS connectionless or connection-oriented? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Is HTTPS connectionless or connection-oriented?" Watch "Is HTTPS connectionless or connection-oriented?" New topic
Author

Is HTTPS connectionless or connection-oriented?

John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1441
I've heard that HTTPS is connection-oriented but have not been able to confirm this. Doesn't it depend on whether it is based on HTTP 1.0 or 1.1?
If someone could point out a reference on the web for this I would appreciate it.
Thanks,
John


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
HTTPS is a seperate distinct protocal from HTTP. It has the features of HTTP 1.1 but extends it to allow a connection-oriented state and allow for 40 or 128 bit encryption. You can confirm the connection by turning on the security warnings in your browser. It will then notify you when a HHTPS connection is established and when it is closed.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1441
Thanks, Carl.
Does your use of the word "allow" in your answer (It has the features of HTTP 1.1 but extends it to allow a connection-oriented state and allow for 40 or 128 bit encryption.)imply that you can use HTTPS in either a connectionless or connection-oriented manner?
John
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Actually I guess allow was a poor choice of words, it will allways be connection oreinted. Part of the protocal established the connection and agrees on a remote random key to do the encryption. Thats part of the reason the connection is maintained. All communications between the two will use this key until the connection is closed. Establishing this key is fairly expensive in internet terms so....
John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1441
OK, got it!
Thanks,
John
 
 
subject: Is HTTPS connectionless or connection-oriented?
 
Similar Threads
Sun Sample Question on SSL
Is HTTP connectionless or connection oriented
is HTTP is connection oriented
HTTP connectionless/connection based
HTTP is connection-less or connection-base? my materials tell me difference answer:(