Artifact
5eac592725b07e08d3477c84aed0b3f373199301af3ea3a5fbf5a1214c09856c:
Ticket change
[5eac592725]
- Verified ticket
[94c6a431fee47acd|94c6a431fe]: <i>Buffering until timeout</i> plus 5 other changes
by
anonymous on
2018-10-22 21:01:25.
0000: 44 20 32 30 31 38 2d 31 30 2d 32 32 54 32 31 3a D 2018-10-22T21:
0010: 30 31 3a 32 35 2e 34 36 37 0a 4a 20 69 63 6f 6d 01:25.467.J icom
0020: 6d 65 6e 74 20 48 69 2c 5c 72 5c 6e 5c 72 5c 6e ment Hi,\r\n\r\n
0030: 57 65 5c 73 68 61 76 65 5c 73 74 68 65 5c 73 73 We\shave\sthe\ss
0040: 61 6d 65 5c 73 70 72 6f 62 6c 65 6d 5c 73 61 6e ame\sproblem\san
0050: 64 5c 73 49 5c 73 77 61 73 5c 73 61 62 6c 65 5c d\sI\swas\sable\
0060: 73 74 6f 5c 73 70 69 6e 70 6f 69 6e 74 5c 73 69 sto\spinpoint\si
0070: 74 5c 73 61 66 74 65 72 5c 73 6c 65 61 72 6e 69 t\safter\slearni
0080: 6e 67 5c 73 74 63 6c 5c 73 63 68 61 6e 6e 65 6c ng\stcl\schannel
0090: 5c 73 66 72 61 6d 65 2e 5c 72 5c 6e 5c 72 5c 6e \sframe.\r\n\r\n
00a0: 31 2e 5c 73 49 6e 5c 73 22 74 6c 73 57 61 74 63 1.\sIn\s"tlsWatc
00b0: 68 50 72 6f 63 22 5c 73 6f 66 5c 73 74 6c 73 49 hProc"\sof\stlsI
00c0: 4f 2e 63 2c 5c 73 74 68 65 5c 73 63 6f 6e 64 69 O.c,\sthe\scondi
00d0: 74 69 6f 6e 5c 73 74 6f 5c 73 63 72 65 61 74 65 tion\sto\screate
00e0: 5c 73 74 69 6d 65 72 5c 73 69 73 5c 73 6e 6f 74 \stimer\sis\snot
00f0: 5c 73 63 6f 76 65 72 69 6e 67 5c 73 61 6c 6c 5c \scovering\sall\
0100: 73 63 61 73 65 73 2e 5c 73 5c 73 49 74 5c 73 73 scases.\s\sIt\ss
0110: 68 6f 75 6c 64 5c 73 61 6c 73 6f 5c 73 63 68 65 hould\salso\sche
0120: 63 6b 5c 73 74 68 65 5c 73 42 49 4f 5c 73 62 75 ck\sthe\sBIO\sbu
0130: 66 66 65 72 2e 5c 72 5c 6e 54 68 65 5c 73 6c 69 ffer.\r\nThe\sli
0140: 6e 65 5c 73 73 68 6f 75 6c 64 5c 73 72 65 61 64 ne\sshould\sread
0150: 3a 5c 72 5c 6e 69 66 5c 73 28 28 6d 61 73 6b 5c :\r\nif\s((mask\
0160: 73 26 5c 73 54 43 4c 5f 52 45 41 44 41 42 4c 45 s&\sTCL_READABLE
0170: 29 5c 73 26 26 5c 72 5c 6e 5c 73 5c 73 5c 73 5c )\s&&\r\n\s\s\s\
0180: 73 28 54 63 6c 5f 49 6e 70 75 74 42 75 66 66 65 s(Tcl_InputBuffe
0190: 72 65 64 28 73 74 61 74 65 50 74 72 2d 3e 73 65 red(statePtr->se
01a0: 6c 66 29 5c 73 3e 5c 73 30 5c 73 7c 7c 5c 73 42 lf)\s>\s0\s||\sB
01b0: 49 4f 5f 63 74 72 6c 5f 70 65 6e 64 69 6e 67 28 IO_ctrl_pending(
01c0: 73 74 61 74 65 50 74 72 2d 3e 62 69 6f 29 5c 73 statePtr->bio)\s
01d0: 3e 5c 73 30 29 29 5c 73 7b 5c 72 5c 6e 2e 2e 2e >\s0))\s{\r\n...
01e0: 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 5c 72 5c 6e ............\r\n
01f0: 7d 5c 72 5c 6e 5c 72 5c 6e 32 2e 5c 73 5c 73 49 }\r\n\r\n2.\s\sI
0200: 6e 5c 73 22 42 69 6f 43 74 72 6c 22 5c 73 6f 66 n\s"BioCtrl"\sof
0210: 5c 73 74 6c 73 42 49 4f 2e 63 2c 5c 73 74 68 65 \stlsBIO.c,\sthe
0220: 5c 73 72 65 73 75 6c 74 5c 73 6f 66 5c 73 42 49 \sresult\sof\sBI
0230: 4f 5f 43 54 52 4c 5f 50 45 4e 44 49 4e 47 5c 73 O_CTRL_PENDING\s
0240: 73 68 6f 75 6c 64 5c 73 62 65 3a 5c 72 5c 6e 72 should\sbe:\r\nr
0250: 65 74 5c 73 3d 5c 73 28 28 63 68 61 6e 29 5c 73 et\s=\s((chan)\s
0260: 3f 5c 73 54 63 6c 5f 49 6e 70 75 74 42 75 66 66 ?\sTcl_InputBuff
0270: 65 72 65 64 28 63 68 61 6e 29 5c 73 3a 5c 73 30 ered(chan)\s:\s0
0280: 29 3b 5c 72 5c 6e 4e 4f 54 5c 73 72 65 74 5c 73 );\r\nNOT\sret\s
0290: 3d 5c 73 28 28 63 68 61 6e 29 5c 73 3f 5c 73 31 =\s((chan)\s?\s1
02a0: 3a 5c 73 30 29 3b 5c 72 5c 6e 5c 72 5c 6e 53 65 :\s0);\r\n\r\nSe
02b0: 63 6f 6e 64 5c 73 65 72 72 6f 72 5c 73 63 61 75 cond\serror\scau
02c0: 73 65 64 5c 73 42 49 4f 5f 63 74 72 6c 5f 70 65 sed\sBIO_ctrl_pe
02d0: 6e 64 69 6e 67 5c 73 61 6c 77 61 79 73 5c 73 72 nding\salways\sr
02e0: 65 74 75 72 6e 5c 73 31 5c 73 65 76 65 6e 5c 73 eturn\s1\seven\s
02f0: 6e 6f 5c 73 64 61 74 61 5c 73 61 76 61 69 6c 61 no\sdata\savaila
0300: 62 6c 65 2e 5c 72 5c 6e 5c 72 5c 6e 50 6c 65 61 ble.\r\n\r\nPlea
0310: 73 65 5c 73 6c 65 74 5c 73 6d 65 5c 73 6b 6e 6f se\slet\sme\skno
0320: 77 5c 73 61 66 74 65 72 5c 73 79 6f 75 5c 73 70 w\safter\syou\sp
0330: 75 73 68 5c 73 6f 75 72 5c 73 74 68 65 5c 73 70 ush\sour\sthe\sp
0340: 61 74 63 68 2e 5c 72 5c 6e 5c 72 5c 6e 42 65 73 atch.\r\n\r\nBes
0350: 74 2c 5c 72 5c 6e 5c 72 5c 6e 4a 69 6e 68 75 5c t,\r\n\r\nJinhu\
0360: 72 5c 6e 6a 69 6e 68 75 40 73 74 61 6e 66 6f 72 r\njinhu@stanfor
0370: 64 2e 65 64 75 0a 4a 20 6c 6f 67 69 6e 20 61 6e d.edu.J login an
0380: 6f 6e 79 6d 6f 75 73 0a 4a 20 6d 69 6d 65 74 79 onymous.J mimety
0390: 70 65 20 74 65 78 74 2f 70 6c 61 69 6e 0a 4a 20 pe text/plain.J
03a0: 73 74 61 74 75 73 20 56 65 72 69 66 69 65 64 0a status Verified.
03b0: 4a 20 74 79 70 65 20 43 6f 64 65 5c 73 44 65 66 J type Code\sDef
03c0: 65 63 74 0a 4a 20 75 73 65 72 6e 61 6d 65 20 6a ect.J username j
03d0: 69 6e 68 75 40 73 74 61 6e 66 6f 72 64 2e 65 64 inhu@stanford.ed
03e0: 75 0a 4b 20 39 34 63 36 61 34 33 31 66 65 65 34 u.K 94c6a431fee4
03f0: 37 61 63 64 62 35 39 30 65 65 33 39 36 33 37 30 7acdb590ee396370
0400: 34 65 66 31 64 37 35 36 61 35 63 66 0a 55 20 61 4ef1d756a5cf.U a
0410: 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 39 35 32 34 38 nonymous.Z 95248
0420: 37 33 62 30 38 37 35 61 62 30 30 38 37 37 37 66 73b0875ab008777f
0430: 30 33 66 31 61 65 62 66 37 36 62 0a 03f1aebf76b.