Degu 0.9
Milestone information
- Project:
- Degu
- Series:
- trunk
- Version:
- 0.9
- Released:
- Registrant:
- Jason Gerard DeRose
- Release registered:
- Active:
- No. Drivers cannot target bugs and blueprints to this milestone.
Activities
- Assigned to you:
- No blueprints or bugs assigned to you.
- Assignees:
- No users assigned to blueprints and bugs.
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- No bugs are targeted to this milestone.
Download files for this release
Release notes
For full details on the changes, please see:
http://
Security fixes:
* read_preamble() and read_chunk() now carefully restrict what bytes are permitted, and in particular prevent NUL bytes from being included in any decoded `str` objects
* Server now limits itself to 100 connections (100 threads); this is hard-coded in 0.9, but will be configurable in 1.0
Breaking API changes:
* The RGI request signature is now app(session, request, bodies), and wrapper classes like session['rgi.Body'] have moved to bodies.Body, etc.
For example, this Degu 0.8 RGI application:
def my_file_
myfile = open('/my/file', 'rb')
body = session[
return (200, 'OK', {}, body)
Is implemented like this in Degu 0.9:
def my_file_
myfile = open('/my/file', 'rb')
body = bodies.Body(myfile, 42)
return (200, 'OK', {}, body)
* The following four items have been dropped from the RGI session argument:
session[
session[
session[
session[
Performance improvements:
* The C implementation of read_preamble() is now around 42% faster; this speed-up is thanks to decoding and case-folding the header keys in a single pass rather than using str.casefold(), plus thanks to calling rfile.readline() using PyObject_Call() with pre-built argument tuples instead of PyObject_
Changelog
This release does not have a changelog.
0 blueprints and 0 bugs targeted
There are no feature specifications or bug tasks targeted to this milestone. The project's maintainer, driver, or bug supervisor can target specifications and bug tasks to this milestone to track the things that are expected to be completed for the release.