Brice Figureau
23b8950ad9
v0.7 - updated make and README
Signed-off-by: Brice Figureau <brice@daysofwonder.com >
16 gadus atpakaļ
Valery Kholodkov
cf43a1065f
Added variables relevant to the module's output
17 gadus atpakaļ
Valery Kholodkov
b0e4c4a001
Fixed bug: passing wrong template index
17 gadus atpakaļ
Valery Kholodkov
6c63c538c0
Make session ID header name configurable
17 gadus atpakaļ
Valery Kholodkov
0bcdcae844
Fixed bug: wrong type specifier
17 gadus atpakaļ
Valery Kholodkov
acc2c4bc60
Added directive to format output as JSON object
17 gadus atpakaļ
Valery Kholodkov
dd8cedcdc3
Fixed bug in interaction with upload module
17 gadus atpakaļ
Valery Kholodkov
639b0a3122
Response is now generated from templates
17 gadus atpakaļ
Valery Kholodkov
7b3ef91c10
Added directive to specify content type of progress report
17 gadus atpakaļ
Brice Figureau
ddca3a78af
Fix crash if a read event occur and the request args have been deleted
This could happen with the upload module if for a reason the upload
is aborted. In this case an internal redirect is done, but the request
still contains our read even handler.
Unfortunately the request args are nullified before calling this read
even handler. So we were crashing because we didn't check for id==null.
This patch fixes this issue.
Signed-off-by: Brice Figureau <brice@daysofwonder.com >
16 gadus atpakaļ
Brice Figureau
936f1c460f
v0.6
16 gadus atpakaļ
Brice Figureau
3bb396e3dc
Fix node corruption bug while cleaning uploads
When we clean a node, we ask nginx to free the memory. On some
platform or no load there were great chance the memory wasn't
reused for something else.
With high load and on FreeBSD, the memory seems to be reused
immediatly and we jump in the middle of f*****g nowhere, and
we crash.
Thanks to Vladimir Getmanshchuk for his bug report.
Signed-off-by: Brice Figureau <brice@daysofwonder.com >
16 gadus atpakaļ
Brice Figureau
d0c16a9e25
removed old mercurial file
17 gadus atpakaļ
Brice Figureau
3f17deb45e
Added arguments to test scripts
17 gadus atpakaļ
Brice Figureau
8066e9e1da
removed prj
17 gadus atpakaļ
Brice Figureau
8ddf08289c
Added tag v0.5 for changeset 33175bd4faae
17 gadus atpakaļ
Brice Figureau
96c9b61392
v0.5
17 gadus atpakaļ
Brice Figureau
3f524b8c34
remove all current uploads from shared cache in case of quit
17 gadus atpakaļ
Brice Figureau
6d6f24fad8
fixing stuck worker on reload/quit/terminate
17 gadus atpakaļ
Brice Figureau
eb44976b6a
more fixes for stuck worker process
17 gadus atpakaļ
Brice Figureau
40a871c514
compile fix
17 gadus atpakaļ
Brice Figureau
a1eaf20265
Fix nginx worker process looping on timer when quit/terminate/reload
17 gadus atpakaļ
Brice Figureau
33a331dea8
Fixed possible memory leak
17 gadus atpakaļ
Brice Figureau
1dd30303b2
Fix progress probe returning "done" when upload is still in progress.
This was due by reusing slabs from a terminated upload without reseting the
various parameters including the done parameter.
18 gadus atpakaļ
Brice Figureau
61a9962bfe
makefile for v0.4
18 gadus atpakaļ
Brice Figureau
ffc411dbcc
Added tag v0.4 for changeset 083693026e57
18 gadus atpakaļ
Brice Figureau
1bfc62808f
change for v0.4
18 gadus atpakaļ
Brice Figureau
ebcfb5a21f
more fix for r released in read_event_handler
18 gadus atpakaļ
Brice Figureau
2feeda413b
fixed crash in read_event_handler if using id after the request died
18 gadus atpakaļ
Brice Figureau
ba428437fc
added stress test
18 gadus atpakaļ
Brice Figureau
b30e3745f1
Install our read_event_handler only if the request belongs us
18 gadus atpakaļ
Brice Figureau
30814d2657
project update
18 gadus atpakaļ
Brice Figureau
903a01fbff
crash fix
18 gadus atpakaļ
Brice Figureau
89e1b33ad1
better handle cleanupped/freed connection in read_event_handler
18 gadus atpakaļ
Brice Figureau
51262f2755
timed out connections now errors instead of 0/0 and done on cleaning
18 gadus atpakaļ
Brice Figureau
b9c2b4bc6d
fixed ugly up conf that was storing the read_event_handler - instead store it in the http request context
18 gadus atpakaļ
Brice Figureau
401a1391ee
fixed tabs/indent
18 gadus atpakaļ
Brice Figureau
f220b4ce66
fixed prj
18 gadus atpakaļ
Brice Figureau
e5a7ca93e7
fixing hard crash in case of client disconnection, take 2
18 gadus atpakaļ
Brice Figureau
e04c8ad884
fixing hard crash in case of client disconnection
18 gadus atpakaļ
Brice Figureau
749e7f02e8
fixed uint != off_t size
18 gadus atpakaļ
Brice Figureau
9a7740f118
Fixed multiple worker_process issue
* Added a content handler that overrides the original handler (but calls it). It is
used to add our own read_event_handler.
* Implemented a read_event_handler that calls the original handler, and store the rest/content_length in our
own node.
* modified the different handlers to use the new node fields
18 gadus atpakaļ
Brice Figureau
128c466742
testing content handler
18 gadus atpakaļ
Brice Figureau
bdcfa7d6a6
fixed corruption of connection->log in log message when cleanup event is teared down way after the connection is dead
18 gadus atpakaļ
Brice Figureau
23d4a9213b
Added tag v0.3 for changeset 9f9c4ef567c8
18 gadus atpakaļ
Brice Figureau
251beb32f6
fixed documentation
18 gadus atpakaļ
Brice Figureau
5cdf6368d3
Added tag v0.3 for changeset 9801a01136c6
18 gadus atpakaļ
Brice Figureau
0692559861
* version 0.3
* added new CHANGES
* support for lowercase or mixed case X-Progress-ID header or parameter (fixes IE lowercasing headers)
* report original HTTP error code in probe in case of upload error
* fix crash reported by Michal Drapiewski
18 gadus atpakaļ
Brice Figureau
76c26bbc60
tentative fix for crash when orig->request_body is null
18 gadus atpakaļ
Brice Figureau
d7009cadf5
fix IE lowercase x-progress-id in XMLHttpRequest
18 gadus atpakaļ