Tornado 4.2 发布, 更新内容如下:
向后兼容改进: SSLIOStream.connectand IOStream.start_tls now validate certificates
by default.
Certificate validation will now use the system CA root certificates instead
ofcertifiwhen possible (i.e. Python 2.7.9+ or 3.4+)
The default SSL configuration has become stricter, using ssl.create_default_context where available on the client side.
The deprecated classes in the tornado.auth module,GoogleMixin,FacebookMixin, and FriendFeedMixinhave been removed.
更多内容请点击这里
Tornado是使用Python开发的全栈式(full-stack)Web框架和异步网络库,最早由Friendfeed开发。通过使用非阻塞
IO,Tornado可以处理数以万计的开放连接,是long polling、WebSockets和其他需要为用户维护长连接应用的理想选择。
Tornado 跟其他主流的Web服务器框架(主要是Python框架)不同是采用epoll非阻塞IO,响应快速,可处理数千并发连接,特别适用用于实时的Web服务。
Tornado 主要分成四个部分: |