Share

TLS: OpenSSL Tcl Extension

Tracker: Bugs

8 Stalled async reading, and empty reads - ID: 1945535
Last Update: Comment added ( eriklns )

This report covers two issues regarding the usage of the TLS package with
Tcl:

- empty reads when channels are readable according to [fileevent];
- stalling data transport for specific cases;

Please see attached file "tls_issues.tar.gz" which holds the detailed
description of the issues, as well as scripts that exercise and identify
these issues at the script level.

The exercisable setup was isolated from a more real-world, and compound
setup which utilized HTTP.

Thanks also to Alexandre Ferrieux for his help, especially with the strace
inspection.

We (Alex and I) feel that we've stretched our efforts as far as they are
efficient.

Since I can't tell which of the two (Tcl or TLS) can be held responsible,
this report has been cross-filed at the Tcl tracker as a reference.


Erik Leunissen ( eriklns ) - 2008-04-18 09:31

8

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 4 )

Date: 2009-12-11 19:54
Sender: eriklns

Found another gif that got stuck. Added as "stalling_6.gif"


Date: 2009-06-08 13:58
Sender: eriklns

The sample file used thus far to exercise "the choking channel" has
received company ...

The tarball "more_stalling_gifs.tar.gz" holds four more of them.

Each of these gif images gets stuck at a different byte offset (i.e. the
notifier not responding to the last bytes having arrived).

When the exercise for any of these files is repeated, the byte offset
where the stalling occurs is always exactly the same.

All tests performed with the scripts already here, using Linux, Tcl8.5.7.



Date: 2008-05-09 23:02
Sender: eriklns


OK, set priority to 8 (= the same priority as was assigned to the
corresponding issue in the Tcl tracker).



Date: 2008-05-05 06:34
Sender: ferrieux


Erik, maybe you could bump the prio here too. I cannot, having no status
in TLS :-}


Attached Files ( 3 )

Filename Description Download
stalling_6.gif Download
tls_issues.tar.gz Download
more_stalling_gifs.tar.gz Download

Changes ( 4 )

Field Old Value Date By
File Added 354856: stalling_6.gif 2009-12-11 19:50 eriklns
File Added 330182: more_stalling_gifs.tar.gz 2009-06-08 13:50 eriklns
priority 5 2008-05-09 23:02 eriklns
File Added 275030: tls_issues.tar.gz 2008-04-18 09:31 eriklns