Check-in [a16da7868e]
Overview
Comment:*** empty log message ***
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a16da7868ea85017308d1e4d39cf99eaec07f4aa
User & Date: stanton on 2000-06-01 19:26:07
Other Links: manifest | tags
Context
2000-06-01
22:34
*** empty log message *** check-in: 0d55961d2f user: stanton tags: trunk
19:26
*** empty log message *** check-in: a16da7868e user: stanton tags: trunk
19:26
* tlsIO.c: Restore the previous version. Fixed the CloseProc so it unregisters the channel handler on the superceded channel instead of the upper channel. Also removed the call to Tcl_NotifyChannel in the ChannelHandler because this will result in an infinite loop if data is ever buffered in the BIO structure. [Bug: 5623] check-in: b86c814390 user: stanton tags: trunk
Changes

Modified ChangeLog from [49cd482fb3] to [77b95843ac].










1
2
3
4
5
6
7
8
9

10









2000-05-31  Brent Welch <[email protected]>

	* tls.c: Change the ChannelHandler to be registered on the main
	channel as oppsed to the "parent", or superceeded, channel.  This
	is because the socket driver notifies the main channel, and there are
	times with the main channel gets closed, but the superceded one
	is not yet closed.  If the channel handler gets triggered in this
	half-open state it is associated with the superceeded channedl, but
	uses its private pointer to the main channel, which is mostly destroyed.

	* Eliminated the redundant call to Tcl_NotifyChannel from TlsWatchProc
>
>
>
>
>
>
>
>
>




|
|
|
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2000-06-01  Scott Stanton  <[email protected]>

	* tlsIO.c: Restore the previous version.  Fixed the CloseProc so
	it unregisters the channel handler on the superceded channel
	instead of the upper channel. Also removed the call to
	Tcl_NotifyChannel in the ChannelHandler because this will result
	in an infinite loop if data is ever buffered in the BIO
	structure. [Bug: 5623]

2000-05-31  Brent Welch <[email protected]>

	* tls.c: Change the ChannelHandler to be registered on the main
	channel as oppsed to the "parent", or superceeded, channel.  This
	is because the socket driver notifies the main channel, and there
	are times with the main channel gets closed, but the superceded
	one is not yet closed.  If the channel handler gets triggered in
	this half-open state it is associated with the superceeded
	channedl, but uses its private pointer to the main channel, which
	is mostly destroyed.  Eliminated the redundant call to
	Tcl_NotifyChannel from TlsWatchProc. [Bug: 5623]