summaryrefslogtreecommitdiffhomepage
path: root/src/ruby (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-03-21Adjusting request schema value according to connection tls state.Max Romanov1-1/+3
This closes #223 issue on GitHub.
2019-02-28Made QUERY_STRING mandatory.Valentin Bartenev1-4/+2
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.
2019-02-28Introducing Java Servlet Container beta.Max Romanov1-0/+1
2019-02-27Fixed processing of SERVER_NAME after 77aad2c142a0.Valentin Bartenev1-21/+7
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.
2018-08-06Unit application library.Max Romanov3-419/+360
Library now used in all language modules. Old 'nxt_app_*' code removed. See src/test/nxt_unit_app_test.c for usage sample.
2018-07-10Ruby: added "require('bundler/setup')".Alexander Borisov1-1/+23
This closes #93 PR on GitHub.
2018-06-25Introduced nxt_length() macro.Valentin Bartenev1-5/+5
2018-05-21Added SERVER_SOFTWARE request meta-variable.Valentin Bartenev1-0/+5
2018-04-04Changed version processing for modules.Alexander Borisov1-1/+1
2018-04-03Ruby: added 'enc/trans/transdb' module for converting encodings.Alexander Borisov1-0/+3
This closes #92 issue on GitHub.
2018-03-21Added Ruby support.Alexander Borisov3-0/+1235