[issue18233] SSLSocket.getpeercertchain()

2019-03-31 Thread Hiroaki Kawai
Change by Hiroaki Kawai : -- nosy: +Hiroaki.Kawai ___ Python tracker <https://bugs.python.org/issue18233> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5305] imaplib should support international mailbox names

2014-10-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: >> the twisted imap API is problematic for imaplib because twisted seems to >> expect its arguments to already be Python unicode. > Could you elaborate on this? As far as I can tell, it works fine: twisted imap4-utf-7 seems to be improved

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: I think creating an ssl socket from existing socket from an instance generated by library routine, and replace that socket with ssl socket is very common usage. Injecting wrap_socket is very easy. But injecting unwrap call is not easy. In python 2.6, I got a

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: Ah, sorry I understood now. -- ___ Python tracker <http://bugs.python.org/issue17672> ___ ___ Python-bugs-list mailing list Unsub

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: The error looks like : SSLError(8, '_ssl.c:1363: EOF occurred in violation of protocol') But why we see "in violation of protocol" here? 2013/4/10 Antoine Pitrou > > Antoine Pitrou added the comment: > > > Client gets an exce

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: As an interface of ssl socket, server does not have to read, just write some data. The client side should be able to read the bytes that ther server sent. The problem is that client will sometimes raise an unexpected SSLError in reading the ssl socket because

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: Client gets an exception in reading the socket, not in writing. Please run the test code and see what happens. 2013/4/9 Charles-François Natali > > Charles-François Natali added the comment: > > > sometimes RST was sent over the network instead

[issue17672] ssl unclean shutdown

2013-04-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: Please run the test so that you'll see the problem. 2013/4/9 Antoine Pitrou > > Antoine Pitrou added the comment: > > I don't think your patch is right: > > - calling unwrap() already shuts down the SSL layer; this is the right way

[issue17672] ssl unclean shutdown

2013-04-08 Thread Hiroaki Kawai
Changes by Hiroaki Kawai : -- title: ssl clean shutdown -> ssl unclean shutdown ___ Python tracker <http://bugs.python.org/issue17672> ___ ___ Python-bugs-lis

[issue17672] ssl clean shutdown

2013-04-08 Thread Hiroaki Kawai
New submission from Hiroaki Kawai: When using ssl module, I sometimes get unexpected error. The observed error varies in different situations. After the investigation, I found the reason was that ssl shutdown was not performed and sometimes RST was sent over the network instead of FIN. I

[issue13640] add mimetype for application/vnd.apple.mpegurl

2011-12-19 Thread Hiroaki Kawai
New submission from Hiroaki Kawai : Add application/vnd.apple.mpegurl, which is used by smartphones recently. It is registered in IANA : http://www.iana.org/assignments/media-types/application/vnd.apple.mpegurl An application is described in http://tools.ietf.org/html/draft-pantos-http-live

[issue5305] imaplib should support international mailbox names

2011-01-27 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: twisted's code does not work good for "\t", "\r", "\n", those characters must encoded in modified base64 form according to RFC 3501. -- nosy: +Hiroaki.Kawai ___ Python tracker