History log of /unit/src/ruby/ (Results 26 – 37 of 37)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1235:4d5998f60f2010-Oct-2019 Igor Sysoev

Style fixes.

Revision tags: 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
1011:0c41674ec79c21-Mar-2019 Max Romanov

Adjusting request schema value according to connection tls state.

This closes #223 issue on GitHub.

Revision tags: 1.8.0-1, 1.8.0
981:e9253a35f47a28-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:4f9268f27b5728-Feb-2019 Max Romanov

Introducing Java Servlet Container beta.


/unit/auto/modules/conf
/unit/auto/modules/java
/unit/auto/modules/java_get_jar
/unit/src/java/nginx/unit/Context.java
/unit/src/java/nginx/unit/DynamicDispatcherRequest.java
/unit/src/java/nginx/unit/DynamicPathRequest.java
/unit/src/java/nginx/unit/ForwardRequestWrapper.java
/unit/src/java/nginx/unit/HeaderNamesEnumeration.java
/unit/src/java/nginx/unit/HeadersEnumeration.java
/unit/src/java/nginx/unit/IncludeRequestWrapper.java
/unit/src/java/nginx/unit/IncludeResponseWrapper.java
/unit/src/java/nginx/unit/InitParams.java
/unit/src/java/nginx/unit/InputStream.java
/unit/src/java/nginx/unit/JspPropertyGroup.java
/unit/src/java/nginx/unit/OutputStream.java
/unit/src/java/nginx/unit/Request.java
/unit/src/java/nginx/unit/RequestAttrProxy.java
/unit/src/java/nginx/unit/Response.java
/unit/src/java/nginx/unit/Session.java
/unit/src/java/nginx/unit/SessionAttrProxy.java
/unit/src/java/nginx/unit/Taglib.java
/unit/src/java/nginx/unit/UnitSessionCookieConfig.java
/unit/src/java/nxt_jni.c
/unit/src/java/nxt_jni.h
/unit/src/java/nxt_jni_Context.c
/unit/src/java/nxt_jni_Context.h
/unit/src/java/nxt_jni_HeaderNamesEnumeration.c
/unit/src/java/nxt_jni_HeaderNamesEnumeration.h
/unit/src/java/nxt_jni_HeadersEnumeration.c
/unit/src/java/nxt_jni_HeadersEnumeration.h
/unit/src/java/nxt_jni_InputStream.c
/unit/src/java/nxt_jni_InputStream.h
/unit/src/java/nxt_jni_OutputStream.c
/unit/src/java/nxt_jni_OutputStream.h
/unit/src/java/nxt_jni_Request.c
/unit/src/java/nxt_jni_Request.h
/unit/src/java/nxt_jni_Response.c
/unit/src/java/nxt_jni_Response.h
/unit/src/java/nxt_jni_Thread.c
/unit/src/java/nxt_jni_Thread.h
/unit/src/java/nxt_jni_URLClassLoader.c
/unit/src/java/nxt_jni_URLClassLoader.h
/unit/src/nxt_application.c
/unit/src/nxt_application.h
/unit/src/nxt_conf.h
/unit/src/nxt_conf_validation.c
/unit/src/nxt_external.c
/unit/src/nxt_java.c
/unit/src/nxt_main_process.c
/unit/src/nxt_php_sapi.c
/unit/src/nxt_python_wsgi.c
/unit/src/nxt_router.c
/unit/src/perl/nxt_perl_psgi.c
nxt_ruby.c
/unit/test/java/content_type/app.java
/unit/test/java/cookies/app.java
/unit/test/java/empty/app.java
/unit/test/java/filter/app.java
/unit/test/java/forward/app.java
/unit/test/java/forward/index.html
/unit/test/java/forward/web.xml
/unit/test/java/get_header/app.java
/unit/test/java/get_header_names/app.java
/unit/test/java/get_headers/app.java
/unit/test/java/get_params/app.java
/unit/test/java/header/app.java
/unit/test/java/header_date/app.java
/unit/test/java/header_int/app.java
/unit/test/java/include/app.java
/unit/test/java/include/index.html
/unit/test/java/include/web.xml
/unit/test/java/jsp/index.jsp
/unit/test/java/mirror/app.java
/unit/test/java/path_translation/app.java
/unit/test/java/path_translation/index.html
/unit/test/java/post_params/app.java
/unit/test/java/query_string/app.java
/unit/test/java/request_listeners/app.java
/unit/test/java/session/app.java
/unit/test/java/session_inactive/app.java
/unit/test/java/session_invalidate/app.java
/unit/test/java/session_listeners/app.java
/unit/test/java/session_listeners/web.xml
/unit/test/java/url_pattern/app.java
/unit/test/java/url_pattern/web.xml
/unit/test/java/welcome_files/app.java
/unit/test/java/welcome_files/dir1/index.txt
/unit/test/java/welcome_files/dir2/default.jsp
/unit/test/java/welcome_files/dir2/index.html
/unit/test/java/welcome_files/dir3/index.txt
/unit/test/java/welcome_files/dir4/index.html
/unit/test/java/welcome_files/index.htm
/unit/test/java/welcome_files/web.xml
/unit/test/test_java_application.py
/unit/test/unit.py
967:d693ed6d020927-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:e0f0cd7d244a06-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:f8e279782e5e10-Jul-2018 Alexander Borisov

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

This closes #93 PR on GitHub.

703:2d536dde84d225-Jun-2018 Valentin Bartenev

Introduced nxt_length() macro.

Revision tags: 1.2
673:9fa79c719a1721-May-2018 Valentin Bartenev

Added SERVER_SOFTWARE request meta-variable.

Revision tags: 1.1, 1.0
612:217e48a3b09104-Apr-2018 Alexander Borisov

Changed version processing for modules.

609:20894c5e4d0803-Apr-2018 Alexander Borisov

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

This closes #92 issue on GitHub.

Revision tags: 0.7
584:28e8e1877e6221-Mar-2018 Alexander Borisov

Added Ruby support.

12