35 Commits

Author SHA1 Message Date
Riccardo Magliocchetti 5e9e07c64f core/static: print mimetype of file on debug print 2015-01-23 11:54:39 +01:00
Unbit 165d7201ec another range header improvement 2015-01-05 13:53:33 +01:00
Unbit 606dc8bb1f fixed range 2015-01-04 15:03:17 +01:00
Unbit b6a2d64bef expose uwsgi_parse_http_date() api function 2014-09-30 07:59:07 +02:00
Łukasz Mierzwa 15b2cf0712 don't recalculate avg_rt for static files 2014-05-03 21:48:41 +02:00
Riccardo Magliocchetti 4667eedc2b core/static: check return value of uwsgi_response_prepare_headers
Reported by Coverity as CID #970965
2013-12-28 15:49:04 +01:00
Unbit e2843a6cee fixed static cache paths 2013-05-25 21:03:59 +02:00
Unbit 8d7618146a fixed X-Sendfile + gzip 2013-05-25 18:07:41 +02:00
Unbit 098a1f647e added final routes or running rules at the end of the request 2013-05-10 15:08:33 +02:00
Unbit a1d6270089 another static gzip refactoring 2013-04-21 20:48:08 +02:00
Dan McGee cf1e2aeeba Fix Content-Length header when serving gzipped content
The refactor in a56003d8 to support the Range header broke compliance
with the HTTP spec. When we find a gzipped resource to serve up, ensure
we use the correct Content-Length of the compressed file, not the
original one.
2013-04-21 13:16:33 -05:00
Unbit 538ab57b6e extend magic cache api to export the expires value (if available) 2013-04-16 18:56:25 +02:00
Unbit a56003d847 added support for range header 2013-04-06 12:45:03 +02:00
Unbit 26113e091b added the gridfs plugin 2013-04-03 11:54:54 +02:00
Unbit 270fb0c50d avoid routing loop 2013-03-16 16:48:26 +01:00
Unbit fe13774b4b internal routing optimization 2013-03-11 07:05:58 +01:00
Unbit ecc3a5e8e2 another routing fix 2013-03-11 06:46:52 +01:00
Unbit 322a2d2365 improved routing + static management 2013-03-10 21:30:54 +01:00
Unbit 5631dcabf8 fixed --static-index when methods different from GET/HEAD are in place 2013-03-10 12:05:25 +01:00
Riccardo Magliocchetti f102ef64da core/static: Add missing break in switch
Reported by Coverity as CID #970990.
2013-03-03 19:37:49 +01:00
Unbit 38b1f52723 fixed static-index and apply_fast routes 2013-02-28 12:14:59 +01:00
Unbit 6e24730025 fixed mime type with static-index 2013-02-25 23:10:29 +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
Unbit 874b994e66 added --static-gzip-* options 2013-01-31 07:49:19 +01:00
Unbit 534f78acb3 improved sendfile management 2013-01-30 12:51:13 +01:00
Unbit 443c2c5a29 better route/sendfile/offload logging 2013-01-30 12:24:38 +01:00
Unbit 2447f819cb first commit of the new caching infrastructure 2013-01-23 16:15:43 +01:00
Roberto De Ioris f71f76c6e6 refactoring 2013-01-20 15:20:35 +01:00
Roberto De Ioris 876f775698 solid sendfile for the new api 2013-01-19 20:59:53 +01:00
Roberto De Ioris 2bd714c610 new writer api 2013-01-19 19:06:06 +01:00
Roberto De Ioris 3cd7a1163d added addheader routing instruction 2013-01-05 09:35:47 +01:00
Roberto De Ioris 6bab2b2318 refactored routing 2013-01-04 20:25:31 +01:00
Roberto De Ioris f9a91fad63 added --static-cache-paths <seconds> 2012-12-31 11:14:53 +01:00
Roberto De Ioris 7956bebb25 added --static-safe 2012-12-31 10:51:17 +01:00
Roberto De Ioris 30633b2c9f refactored static support 2012-12-31 10:33:11 +01:00