… | |
… | |
108 | 02 10:32:56 <elmex> schmorp: bisher machts ::Handle halt so, das er nicht liest wenn niemand einen callback fuers lesen instal liert hat. ich dachte das sollte ruhig weiter so sein |
108 | 02 10:32:56 <elmex> schmorp: bisher machts ::Handle halt so, das er nicht liest wenn niemand einen callback fuers lesen instal liert hat. ich dachte das sollte ruhig weiter so sein |
109 | 02 10:33:00 <schmorp> Muttley: right now? |
109 | 02 10:33:00 <schmorp> Muttley: right now? |
110 | 02 10:33:13 <schmorp> elmex: ja, das ist gut |
110 | 02 10:33:13 <schmorp> elmex: ja, das ist gut |
111 | 02 10:33:19 <schmorp> elmex: aber dann gibts auch keinen default-fall |
111 | 02 10:33:19 <schmorp> elmex: aber dann gibts auch keinen default-fall |
112 | |
112 | |
113 | - on_eof erst nachdem rbuf leer is aufrufen |
|
|
114 | => wenn kein progress mehr gemacht werden kann |
|
|
115 | - sysread eof nur flag setzen und watcher disablen |
|
|
116 | - unshift/push als prep/append |
|
|
117 | - readlines soll weichen, readline reicht |
|
|
118 | |
|
|
119 | 02 11:43:38 <schmorp> $socket->push_read_line ([$sep, ]$cb) |
113 | 02 11:43:38 <schmorp> $socket->push_read_line ([$sep, ]$cb) |
120 | 02 11:43:49 <schmorp> oder read-handler müsste dann "nur" folgendes machen: |
114 | 02 11:43:49 <schmorp> oder read-handler müsste dann "nur" folgendes machen: |
121 | 02 11:43:51 <schmorp> sysread |
115 | 02 11:43:51 <schmorp> sysread |
122 | 02 11:43:58 <schmorp> if (!queue) on_read |
116 | 02 11:43:58 <schmorp> if (!queue) on_read |
123 | 02 11:44:00 <schmorp> else |
117 | 02 11:44:00 <schmorp> else |