81 Commits

Author SHA1 Message Date
Mike Kaplinskiy
1a4f333912 Allow --async 1 (i.e. sync mode, but with a different loop engine) 2014-08-17 13:13:17 -04:00
Unbit
a7e6dfc469 fixed python 3 on old compilers, fixes #551 2014-02-25 07:05:46 +01:00
Unbit
94353efb3f correctly support python2.4 2013-11-01 10:02:35 +01:00
Unbit
a0082b5b98 accepting buffer is an option: --wsgi-accept-buffer 2013-10-05 12:32:49 +02:00
Unbit
c90c639348 --wsgi-strict disable string/bytes optimizations too 2013-10-05 09:09:53 +02:00
Unbit
27be00b4cc fixed #399 2013-09-30 11:47:14 +02:00
Unbit
19aa7c2560 clear exception on PyObject_CheckReadBuffer error 2013-09-30 09:40:40 +02:00
Unbit
215e0c4cbc typos 2013-09-30 09:26:58 +02:00
Unbit
d484acefa4 use buffer protocol in WSGI response 2013-09-30 09:25:25 +02:00
Unbit
e69cc2bcd5 fixed python modifier management 2013-07-18 16:43:37 +02:00
Unbit
9ca6de6e7a fixed #291 2013-05-23 06:51:59 +02:00
Roberta Giordano
8b07fbbedc honour read() method if original file_wrapper object is not a file 2013-05-22 07:16:34 +02:00
Unbit
f31186a0f9 completetd first part of the new exceptions framework 2013-02-17 14:26:31 +01:00
Unbit
d4130dbc4b first round of protocol parsers optimizations
preliminary api for language-independent body read

another step

completed body read language independent implementation

ported gevent to the new read/write api

ported websockets to the new read/write api

removed channels subsystem

removed channels subsystem

ported lua to the new read/write api

fixed post-buffering

readline is still broken

improved request body readline

very difficult test for readline()/read() combo passed

other improvements in postbuffering/read/readline

ported --http-socket to the new api

added X-Forwarded-SSL management

removed old api

more refactoring

ported the RACK plugin to the new api

ported psgi plugin to the new api

defintely removed clustering

simpified ifdel hell

simpified ifdef hell

removed useless configuration options
2013-02-03 10:38:13 +01:00
Roberto De Ioris
874e8b5621 completed port of the python plugin to the new writing api 2013-01-20 14:17:54 +01:00
Roberto De Ioris
4e2178ffab another WSGI optimization 2013-01-20 11:41:43 +01:00
Roberto De Ioris
37e153d5de need to find a way to better manage write errors... 2013-01-20 10:32:02 +01:00
Roberto De Ioris
e1316153be another series of porting 2013-01-19 21:42:05 +01:00
Roberto De Ioris
1b0c5bea6c another destructive commit 2013-01-19 16:53:31 +01:00
Roberto De Ioris
d3194ca011 remove monitored fd from async queue when in async mode 2012-10-30 18:31:04 +01:00
Roberto De Ioris
49140c3387 removed sendfile buildconf option 2012-10-22 14:07:33 +02:00
Roberto De Ioris
29ce04adce implemented reliable gevent non-blocking writes 2012-10-22 08:34:37 +02:00
roberto@quantal64
ffb454e414 headers must be sent before close() 2012-09-06 15:22:17 +02:00
roberto@quantal64
424f5a09e7 call close() always, even if client disconnect 2012-09-06 15:02:12 +02:00
roberto@quantal64
fe36479d5c fixed casting in wsgi.input 2012-07-13 13:00:17 +02:00
roberto@quantal64
849829d6c0 correctly raise exception when the first iteration in a generator fails 2012-07-13 08:11:14 +02:00
roberto@quantal64
f62f7f9282 thread-safe wsgi env behaviour 2012-06-02 09:43:24 +02:00
roberto@precise64
5fac82cfee fixed wsgi.file_wrapper 2012-05-12 10:54:35 +02:00
roberto@precise64
9fe275141f added preliminary python tracebacker 2012-05-11 20:44:56 +02:00
roberto@precise64
62b24fcd2a another python headers management optimization 2012-05-05 09:00:52 +02:00
roberto@precise64
9a4e950480 added a fallback for pthread robust mutexes 2012-05-03 20:19:58 +02:00
roberto@precise64
e2dcdba5a7 fixed headers sent 2012-05-02 11:34:10 +02:00
roberto@precise64
c39cf848de better implementation of start_response() 2012-05-02 09:30:37 +02:00
roberto@precise64
b7e6da3392 added --write-errors-tolerance and --write-errors-exception-only 2012-04-14 09:11:52 +02:00
roberto@sirius
57b9bdb958 better write()/writev() management 2012-04-13 11:36:43 +02:00
roberto@mrspurr
cceee511f2 added support for reload-on-exception on PyPy and interval-based cron syntax 2012-04-06 07:40:21 +02:00
roberto@mrspurr
14c558559b pypy now has PyFile_FromFile 2012-04-05 05:52:58 +02:00
roberto@precise64
e9dc987a95 revert wsgi.url_scheme 2012-04-02 07:48:20 +02:00
roberto@mrspurr
ed8f0812d7 PyPy SUPPORT 2012-03-27 13:58:27 +02:00
roberto@mrspurr
c66957d685 first round of pypy patches 2012-03-26 10:46:12 +02:00
roberto@precise64
f3fdec2739 completed --reload-on-exception* options 2012-03-21 20:37:03 +01:00
roberto@precise64
0fc74dac4d better GIL usage 2012-03-21 20:21:51 +01:00
roberto@precise64
f9f9f25a01 added exception detection 2012-03-18 08:21:45 +01:00
roberto@precise64
8ef7819080 re-included WSGI iterator close() 2012-03-15 17:29:55 +01:00
roberto@centos6
10ff849ebd fixed permissions of files 2012-03-07 15:06:38 +01:00
roberto@openbsd50
c65b8ce162 various fixes 2012-03-06 15:20:25 +01:00
roberto@goyle
a92c2003ee prepare for new routing system 2012-02-02 18:20:10 +01:00
roberto@freebsd64
7dc059c75b completed new freebsd64 sendfiel async support 2011-10-05 20:34:25 +02:00
roberto@mrspurr
4fc306d979 added a new debug entry 2011-09-09 08:32:20 +02:00
roberto@debian32
1989099cc5 preliminary pypy support 2011-08-31 13:18:32 +02:00