Message129559
===== ORIGINAL ===========
$ ./qwe.py 10
read length: 10
read data: "xxxxxxxxxx"
should read "test". read: "test"
$ ./qwe.py -10
read length: -10
read data: "xxxxxx"
should read "test". read: "xxxxtest"
===== PATCHED ===========
$ ./qwe.py 10
read length: 10
read data: "xxxxxxxxxx"
should read "test". read: "test"
$ ./qwe.py -10
read length: -10
error: uncaptured python exception, closing channel <__main__.http_request_handler connected '' at 0x7fe69b9bf878> (<type 'exceptions.ValueError'>:Negative terminator value is not allowed [/usr/lib/python2.6/asyncore.py|read|78] [/usr/lib/python2.6/asyncore.py|handle_read_event|428] [/tmp/qwe/asynchat.py|handle_read|160] [./qwe.py|found_terminator|19] [/tmp/qwe/asynchat.py|set_terminator|98])
root@fad:/tmp/qwe# |
|
Date |
User |
Action |
Args |
2011-02-26 15:14:21 | socketpair | set | recipients:
+ socketpair, giampaolo.rodola, Arfrever |
2011-02-26 15:14:21 | socketpair | set | messageid: <1298733261.01.0.864041716258.issue11259@psf.upfronthosting.co.za> |
2011-02-26 15:14:20 | socketpair | link | issue11259 messages |
2011-02-26 15:14:20 | socketpair | create | |
|