[squeak-dev] The Trunk: WebClient-Core-topa.118.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 29 17:32:59 UTC 2019


Tobias Pape uploaded a new version of WebClient-Core to project The Trunk:
http://source.squeak.org/trunk/WebClient-Core-topa.118.mcz

==================== Summary ====================

Name: WebClient-Core-topa.118
Author: topa
Time: 29 August 2019, 7:32:57.767498 pm
UUID: 4a038521-5fb9-4b3f-8a46-b66d41afd028
Ancestors: WebClient-Core-pre.117

Fix ssl hostname pass-through in Proxy settings

(see https://github.com/squeak-smalltalk/squeakssl/issues/5)

=============== Diff against WebClient-Core-pre.117 ===============

Item was changed:
  ----- Method: WebClient>>sslConnect (in category 'initialize') -----
  sslConnect
  	"Do the SSL handshake"
  	"Connect the client to a web server"
  
  	| sqSSL |
  	proxyServer ifNotNil:[ | resp |
  		"If we have a proxy server, do the proxy connect"
  		resp := self proxyConnect.
  		resp isSuccess ifFalse:[^resp].
  	].
  
  	sqSSL := Smalltalk at: #SqueakSSL ifAbsent:[self error: 'SqueakSSL is missing'].
  	"Convert the stream to a secure stream"
  	stream := sqSSL secureSocketStream on: stream socket.
  	stream timeout: timeout.
+ 	self sslConnect: stream to: self serverName.
- 	self sslConnect: stream to: lastServer.
  	"And cert verification"
  	self canVerify
  		ifTrue: [stream verifyCert: self serverName].
  	^ nil"indicating success"
  !



More information about the Squeak-dev mailing list