History log of /unit/src/ruby/nxt_ruby.c (Results 26 – 35 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 1.8.0-1, 1.8.0
# 981:e9253a35f47a 28-Feb-2019 Valentin Bartenev

Made QUERY_STRING mandatory.

According to CGI/1.1 RFC 3875:

The server MUST set this variable; if the Script-URI does not include a
query component, the QUERY_STRING MUST be defined as an emp

Made QUERY_STRING mandatory.

According to CGI/1.1 RFC 3875:

The server MUST set this variable; if the Script-URI does not include a
query component, the QUERY_STRING MUST be defined as an empty string ("").

Python's PEP 333(3) allows omitting it in WSGI interface; PHP docs force no
requirements; PSGI and Rack specifications require it even if empty.

When nginx proxies requests over FastCGI, it always provides QUERY_STRING.
and some PHP apps have been observed to fail if it is missing (see issue
#201 on GitHub).

A drawback of this change (besides a small overhead) is that there will be
no easy way to tell a missing query string from an empty one (i.e. requests
with or without the "?" character); yet, it's negligible compared to the
possible benefits of wider application compatibility.

This closes #226 issue on GitHub.

show more ...


# 977:4f9268f27b57 28-Feb-2019 Max Romanov

Introducing Java Servlet Container beta.


# 967:d693ed6d0209 27-Feb-2019 Valentin Bartenev

Fixed processing of SERVER_NAME after 77aad2c142a0.

Previously, the nxt_router_prepare_msg() function expected server host among
other headers unmodified. It's not true anymore since normalization

Fixed processing of SERVER_NAME after 77aad2c142a0.

Previously, the nxt_router_prepare_msg() function expected server host among
other headers unmodified. It's not true anymore since normalization of the
Host header has been introduced in 77aad2c142a0.

The nxt_unit_split_host() function was removed. It didn't work correctly with
IPv6 literals. Anyway, after 77aad2c142a0 the port splitting is done in router
while Host header processing.

show more ...


Revision tags: 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4
# 743:e0f0cd7d244a 06-Aug-2018 Max Romanov

Unit application library.

Library now used in all language modules.
Old 'nxt_app_*' code removed.

See src/test/nxt_unit_app_test.c for usage sample.


Revision tags: 1.3
# 717:f8e279782e5e 10-Jul-2018 Alexander Borisov

Ruby: added "require('bundler/setup')".

This closes #93 PR on GitHub.


# 703:2d536dde84d2 25-Jun-2018 Valentin Bartenev

Introduced nxt_length() macro.


Revision tags: 1.2
# 673:9fa79c719a17 21-May-2018 Valentin Bartenev

Added SERVER_SOFTWARE request meta-variable.


Revision tags: 1.1, 1.0
# 612:217e48a3b091 04-Apr-2018 Alexander Borisov

Changed version processing for modules.


# 609:20894c5e4d08 03-Apr-2018 Alexander Borisov

Ruby: added 'enc/trans/transdb' module for converting encodings.

This closes #92 issue on GitHub.


Revision tags: 0.7
# 584:28e8e1877e62 21-Mar-2018 Alexander Borisov

Added Ruby support.


12