Skip to content
Tcl Source Code Artifact [e904ce3764]
Login

Artifact [e904ce3764]

Artifact e904ce376434c3f45273b7aa2d4559281291f0ab188435532296a5327fa9c146:

Ticket change [e904ce3764] - New ticket [b3977d199b08e397|b3977d199b] <i>Channel gets inserts spurious empty lines on receiving torn CR-LF</i>. by apnadkarni on 2022-07-03 06:22:57.
D 2022-07-03T06:22:57.026
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment When\sa\sCR-LF\sin\san\sincoming\sstream\sis\ssplit\sacross\spackets,\sand\sthe\sLF-containing\spacket\sis\snot\sreceived\swhen\sthe\sCR-containing\spacket\sis\sread\sby\sthe\schannel,\sthe\sapplication\sreceives\san\sspurious\sempty\sline\son\s`gets`\sinvocations.\sTo\sillustrate,\srun\sthe\sattached\sserver.tcl\sand\sclient.tcl\sfiles.\sSeen\soutput\sis\s\r\n\r\n```\r\nd:\\src\\tcltk\\console\\tests>tclsh\sclient.tcl\r\n<abc>\r\n<defghi>\r\n<>\r\n<jkl>\r\n```\r\n\r\nNote\sthe\sextra\s<>\sline\swhich\sshould\snot\sbe\spresent.\r\n\r\nNote\sthat\sthis\sis\snot\sspecific\sto\ssocket\sstreams\salthough\sthat's\swhere\sit\sis\seasiest\sto\sdemonstrate.\sAlso\shappens\son\sLinux\s(at\sleast)\sso\snot\sWindows\sspecific.\r\n\r\nMarking\sas\ssevere\sbecause\salthough\sthe\sconditions\sto\strigger\sare\sextremely\srare,\sany\sdata\scorruption\sin\stransit\sis\sa\sBad\sThing.
J foundin 8.6
J is_private 0
J login apnadkarni
J priority 5\sMedium
J resolution None
J severity Severe
J status Open
J submitter apnadkarni
J subsystem 25.\sChannel\sSystem
J title Channel\sgets\sinserts\sspurious\sempty\slines\son\sreceiving\storn\sCR-LF
J type Bug
K b3977d199b08e3979a8da970553d5209b3042e9c
U apnadkarni
Z 0f27d32d7fb1e5700b1d04aadacb6c04