Valentin Bartenev
cf2767625f
Python: fixed crash if start_response() is called inside iteration.
...
The start_response() uses nxt_python_run_ctx, but it was unset right
after the application call.
2018-03-15 17:10:24 +03:00
Valentin Bartenev
912a49c609
Reduced number of critical log levels.
2018-03-05 17:32:50 +03:00
Valentin Bartenev
d1f29ed77e
Python: fixed the "wsgi.errors" environment variable name.
...
This closes issue #76 on GitHub.
2018-01-19 19:45:11 +03:00
Igor Sysoev
dbd7540a04
Removed duplicate declaration.
2017-12-28 20:50:49 +03:00
Igor Sysoev
9a6d3c5775
HTTP keep-alive connections support.
2017-12-28 16:01:06 +03:00
Max Romanov
be36cf52c8
Introducing application 'atexit' hook.
...
Finalizing Python interpreter.
This closes #65 issue on GitHub.
2017-12-27 14:02:11 +03:00
Max Romanov
3781950bad
Introducing python virtualenv configuration.
...
New parameter 'home' for python application allows to configure
application-specific virtualenv path.
This closes #15 issue on GitHub.
2017-11-29 18:48:55 +03:00
Max Romanov
6bbed85899
Fixing Coverity warnings.
...
CID 200496
CID 200494
CID 200490
CID 200489
CID 200483
CID 200482
CID 200472
CID 200465
2017-11-20 17:08:29 +03:00
Igor Sysoev
3c6edead25
Added the debug option to module compatibility vector.
2017-10-18 18:05:51 +03:00
Igor Sysoev
58907888e5
Style fixes.
2017-09-06 02:30:55 +03:00
Igor Sysoev
ff515f4312
Added SERVER_ADDR parameter for Python and PHP modules.
2017-09-01 07:54:01 +03:00
Igor Sysoev
f0e9e3ace9
nginext has been renamed to unit.
2017-08-31 00:42:16 +03:00
Igor Sysoev
6160683544
Introduced module compatibility vector.
2017-08-31 00:42:12 +03:00
Igor Sysoev
949548da29
The new module configuration interface.
...
Configuration and building example:
./configure
./configure python
./configure php
./configure go
make all
or
./configure
make nginext
./configure python
make python
./configure php
make php
./configure go
make go
Modules configuration options and building examples:
./configure python --module=python2 --config=python2.7-config
make python2
./configure php --module=php7 --config=php7.0-config
--lib-path=/usr/local/php7.0
make php7
./configure go --go=go1.6 --go-path=${HOME}/go1.6
make go1.6
2017-08-17 21:47:19 +03:00
Max Romanov
39a6a4c973
Request body read state implemented.
...
With specific timeout and buffer size settings.
2017-08-11 18:04:04 +03:00
Max Romanov
47b359388c
Python: typo fixed in string processing shortcut.
2017-07-18 00:21:13 +03:00
Max Romanov
b0c1e740cf
New process port exchange changed. READY message type introduced.
...
Application process start request DATA message from router to master.
Master notifies router via NEW_PORT message after worker process become ready.
2017-07-12 20:32:16 +03:00
Max Romanov
5529e9f0d1
Python initialization moved from master to worker application.
2017-07-07 16:01:34 +03:00
Max Romanov
41e2678110
Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced.
...
Shortcut: do not iterate over String (or Bytes) return object.
Call 'close()' for return object (if present).
2017-07-05 13:31:53 +03:00
Max Romanov
f3107f3896
Complex target parser copied from NGINX.
...
nxt_app_request_header_t fields renamed:
- 'path' renamed to 'target'.
- 'path_no_query' renamed to 'path' and contains parsed value.
2017-07-05 13:31:45 +03:00
Max Romanov
fa6582d9ad
Python app request processing.
2017-06-23 19:20:08 +03:00
Igor Sysoev
e13cbdb439
Solaris compatibilty.
2017-03-14 19:52:57 +03:00
Igor Sysoev
612c083579
Fixed unit tests building broken by the previous commit.
2017-03-14 15:09:17 +03:00
Igor Sysoev
6f2c9acd18
Processes refactoring.
...
The cycle has been renamed to the runtime.
2017-03-09 18:03:27 +03:00
Igor Sysoev
6e67bee0f4
nxt_str_t changes.
2017-02-01 19:20:07 +03:00
Igor Sysoev
8942550b13
More refactoring relicts removed.
2017-02-01 15:07:23 +03:00
Igor Sysoev
16cbf3c076
Initial version.
2017-01-17 20:00:00 +03:00