History log of /unit/auto/modules/ (Results 26 – 50 of 107)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1502:324e6e2cd62423-Jun-2020 Tiago Natel de Moura

Python: fixed interpreter path in ./configure.

Revision tags: 1.18.0-1, 1.18.0
1496:9e14c63773be28-May-2020 Tiago Natel de Moura

Packages: fixed java configure script.

Now the configure script appends /server to --lib-path argument.

1489:4a3ec07f4b1928-May-2020 Tiago Natel de Moura

Added "rootfs" feature.

1482:90460ae5046a20-May-2020 Remi Collet

PHP: building with PHP 8 (development version).

Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0
1383:b4fbf38ef97504-Mar-2020 Valentin Bartenev

PHP: added ZTS indication to ./configure output.

1382:6c8b10bbb4e804-Mar-2020 Valentin Bartenev

PHP: rearranged feature checks in ./configure.

Now it prints version even if PHP was built without embed SAPI.

1376:2ecb15904ba503-Mar-2020 Tiago Natel de Moura

PHP: optimization to avoid surplus chdir(2) calls.

For each request, the worker calls the php_execute_script function
from libphp that changes to the script directory before doing its
work and then

PHP: optimization to avoid surplus chdir(2) calls.

For each request, the worker calls the php_execute_script function
from libphp that changes to the script directory before doing its
work and then restores the process directory before returning. The
chdir(2) calls it performs are unnecessary in Unit design. In simple
benchmarks, profiling shows that the chdir syscall code path (syscall,
FS walk, etc.) is where the CPU spends most of its time.

PHP SAPI semantics requires the script to be run from the script
directory. In Unit's PHP implementation, we have two use cases:

- script
- arbitrary path

The "script" configuration doesn't have much need for a working
directory change: it can be changed once at module initialization.
The module needs to chdir again only if the user's PHP script also
calls chdir to switch to another directory during execution.

If "script" is not used in Unit configuration, we must ensure the
script is run from its directory (thus calling chdir before exec),
but there's no need to restore the working directory later.

Our implementation disables mandatory chdir calls with the SAPI
option SAPI_OPTION_NO_CHDIR, instead calling chdir only when needed.

To detect the user's calls to chdir, a simple "unit" extension is
added that hooks the built-in chdir() PHP call.

show more ...

Revision tags: 1.15.0-1, 1.15.0
1344:da88d2612f9628-Jan-2020 Max Romanov

Go: adding main configure CFLAGS and LDFLAGS to module build flags.

This makes ASAN buildbot workers to work out-of-the-box.

1341:f11eb1b5b33928-Jan-2020 Max Romanov

Java: fixing configure errors reporting.

1340:518b528dc67e28-Jan-2020 Max Romanov

Java: introducing SHA512 sum validation for external JARs.

1339:d572742eae2f28-Jan-2020 Max Romanov

Java: fixing maven repository URL.

It is required to use https scheme and different host to download
packages from maven repository.

Revision tags: 1.14.0-1, 1.14.0
1329:d4d7d2ca74b125-Dec-2019 Max Romanov

Go: changing import name for "unit.nginx.org/go".

This patch includes packaging changes - update unit-go installation
directory.

1316:5b767c6bfd0a24-Dec-2019 Max Romanov

Go: moving source files to the root of the project.

This patch includes packaging changes related to files move.

1315:e39345dacb8f24-Dec-2019 Max Romanov

Go: installing go module for tests into build directory.

1313:617a20f52f0524-Dec-2019 Max Romanov

Go: linking against libunit.

1309:918b809e858a09-Dec-2019 Max Romanov

Java: fixing racing condition in external JAR download.

Temporary file name with configure process PID used to download
JAR from external repository. Then file renamed using command 'mv'.

The issu

Java: fixing racing condition in external JAR download.

Temporary file name with configure process PID used to download
JAR from external repository. Then file renamed using command 'mv'.

The issue reproduced in clean environment when 2 or more concurrent builds
started.

show more ...

Revision tags: 1.13.0-1, 1.13.0
1241:cc6c74fd768e23-Oct-2019 Max Romanov

Python: fixing Python 3.8 build with clang.

Python 3.8 has 'tp_print' field in PyTypeObject struct. This field is
attributed as deprecated. So, clang generates warning (which is turned to
error) a

Python: fixing Python 3.8 build with clang.

Python 3.8 has 'tp_print' field in PyTypeObject struct. This field is
attributed as deprecated. So, clang generates warning (which is turned to
error) as a result of initializing this field. From the other hand, it is
impossible to omit this field in positional initialization. The solution
is to use designated initializer.

Silencing usage message during configure python.

This is related to #331 issue on GitHub.

show more ...

1237:59eaa56b8f5c22-Oct-2019 Max Romanov

Python: fixing build for Python 3.8.

Thanks to tonyafanasyev.
This is related to #331 issue on GitHub.

Revision tags: 1.12.0-1, 1.12.0
1217:ed8c4e26315202-Oct-2019 Max Romanov

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple
jobs.

This closes #318 issue on GitHub.

show more ...

Revision tags: 1.11.0-2, 1.11.0-1, 1.11.0
1157:7ae152bda30305-Sep-2019 Max Romanov

Java: introducing websocket support.


java
/unit/src/java/javax/websocket/ClientEndpoint.java
/unit/src/java/javax/websocket/ClientEndpointConfig.java
/unit/src/java/javax/websocket/CloseReason.java
/unit/src/java/javax/websocket/ContainerProvider.java
/unit/src/java/javax/websocket/DecodeException.java
/unit/src/java/javax/websocket/Decoder.java
/unit/src/java/javax/websocket/DefaultClientEndpointConfig.java
/unit/src/java/javax/websocket/DeploymentException.java
/unit/src/java/javax/websocket/EncodeException.java
/unit/src/java/javax/websocket/Encoder.java
/unit/src/java/javax/websocket/Endpoint.java
/unit/src/java/javax/websocket/EndpointConfig.java
/unit/src/java/javax/websocket/Extension.java
/unit/src/java/javax/websocket/HandshakeResponse.java
/unit/src/java/javax/websocket/MessageHandler.java
/unit/src/java/javax/websocket/OnClose.java
/unit/src/java/javax/websocket/OnError.java
/unit/src/java/javax/websocket/OnMessage.java
/unit/src/java/javax/websocket/OnOpen.java
/unit/src/java/javax/websocket/PongMessage.java
/unit/src/java/javax/websocket/RemoteEndpoint.java
/unit/src/java/javax/websocket/SendHandler.java
/unit/src/java/javax/websocket/SendResult.java
/unit/src/java/javax/websocket/Session.java
/unit/src/java/javax/websocket/SessionException.java
/unit/src/java/javax/websocket/WebSocketContainer.java
/unit/src/java/javax/websocket/server/DefaultServerEndpointConfig.java
/unit/src/java/javax/websocket/server/HandshakeRequest.java
/unit/src/java/javax/websocket/server/PathParam.java
/unit/src/java/javax/websocket/server/ServerApplicationConfig.java
/unit/src/java/javax/websocket/server/ServerContainer.java
/unit/src/java/javax/websocket/server/ServerEndpoint.java
/unit/src/java/javax/websocket/server/ServerEndpointConfig.java
/unit/src/java/nginx/unit/Context.java
/unit/src/java/nginx/unit/Request.java
/unit/src/java/nginx/unit/websocket/AsyncChannelGroupUtil.java
/unit/src/java/nginx/unit/websocket/AsyncChannelWrapper.java
/unit/src/java/nginx/unit/websocket/AsyncChannelWrapperNonSecure.java
/unit/src/java/nginx/unit/websocket/AsyncChannelWrapperSecure.java
/unit/src/java/nginx/unit/websocket/AuthenticationException.java
/unit/src/java/nginx/unit/websocket/Authenticator.java
/unit/src/java/nginx/unit/websocket/AuthenticatorFactory.java
/unit/src/java/nginx/unit/websocket/BackgroundProcess.java
/unit/src/java/nginx/unit/websocket/BackgroundProcessManager.java
/unit/src/java/nginx/unit/websocket/BasicAuthenticator.java
/unit/src/java/nginx/unit/websocket/Constants.java
/unit/src/java/nginx/unit/websocket/DecoderEntry.java
/unit/src/java/nginx/unit/websocket/DigestAuthenticator.java
/unit/src/java/nginx/unit/websocket/FutureToSendHandler.java
/unit/src/java/nginx/unit/websocket/LocalStrings.properties
/unit/src/java/nginx/unit/websocket/MessageHandlerResult.java
/unit/src/java/nginx/unit/websocket/MessageHandlerResultType.java
/unit/src/java/nginx/unit/websocket/MessagePart.java
/unit/src/java/nginx/unit/websocket/PerMessageDeflate.java
/unit/src/java/nginx/unit/websocket/ReadBufferOverflowException.java
/unit/src/java/nginx/unit/websocket/Transformation.java
/unit/src/java/nginx/unit/websocket/TransformationFactory.java
/unit/src/java/nginx/unit/websocket/TransformationResult.java
/unit/src/java/nginx/unit/websocket/Util.java
/unit/src/java/nginx/unit/websocket/WrappedMessageHandler.java
/unit/src/java/nginx/unit/websocket/WsContainerProvider.java
/unit/src/java/nginx/unit/websocket/WsExtension.java
/unit/src/java/nginx/unit/websocket/WsExtensionParameter.java
/unit/src/java/nginx/unit/websocket/WsFrameBase.java
/unit/src/java/nginx/unit/websocket/WsFrameClient.java
/unit/src/java/nginx/unit/websocket/WsHandshakeResponse.java
/unit/src/java/nginx/unit/websocket/WsIOException.java
/unit/src/java/nginx/unit/websocket/WsPongMessage.java
/unit/src/java/nginx/unit/websocket/WsRemoteEndpointAsync.java
/unit/src/java/nginx/unit/websocket/WsRemoteEndpointBase.java
/unit/src/java/nginx/unit/websocket/WsRemoteEndpointBasic.java
/unit/src/java/nginx/unit/websocket/WsRemoteEndpointImplBase.java
/unit/src/java/nginx/unit/websocket/WsRemoteEndpointImplClient.java
/unit/src/java/nginx/unit/websocket/WsSession.java
/unit/src/java/nginx/unit/websocket/WsWebSocketContainer.java
/unit/src/java/nginx/unit/websocket/pojo/Constants.java
/unit/src/java/nginx/unit/websocket/pojo/LocalStrings.properties
/unit/src/java/nginx/unit/websocket/pojo/PojoEndpointBase.java
/unit/src/java/nginx/unit/websocket/pojo/PojoEndpointClient.java
/unit/src/java/nginx/unit/websocket/pojo/PojoEndpointServer.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerBase.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerPartialBase.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerPartialBinary.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerPartialText.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerWholeBase.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerWholeBinary.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerWholePong.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMessageHandlerWholeText.java
/unit/src/java/nginx/unit/websocket/pojo/PojoMethodMapping.java
/unit/src/java/nginx/unit/websocket/pojo/PojoPathParam.java
/unit/src/java/nginx/unit/websocket/pojo/package-info.java
/unit/src/java/nginx/unit/websocket/server/Constants.java
/unit/src/java/nginx/unit/websocket/server/DefaultServerEndpointConfigurator.java
/unit/src/java/nginx/unit/websocket/server/LocalStrings.properties
/unit/src/java/nginx/unit/websocket/server/UpgradeUtil.java
/unit/src/java/nginx/unit/websocket/server/UriTemplate.java
/unit/src/java/nginx/unit/websocket/server/WsContextListener.java
/unit/src/java/nginx/unit/websocket/server/WsFilter.java
/unit/src/java/nginx/unit/websocket/server/WsHandshakeRequest.java
/unit/src/java/nginx/unit/websocket/server/WsHttpUpgradeHandler.java
/unit/src/java/nginx/unit/websocket/server/WsMappingResult.java
/unit/src/java/nginx/unit/websocket/server/WsPerSessionServerEndpointConfig.java
/unit/src/java/nginx/unit/websocket/server/WsRemoteEndpointImplServer.java
/unit/src/java/nginx/unit/websocket/server/WsSci.java
/unit/src/java/nginx/unit/websocket/server/WsServerContainer.java
/unit/src/java/nginx/unit/websocket/server/WsSessionListener.java
/unit/src/java/nginx/unit/websocket/server/WsWriteTimeout.java
/unit/src/java/nginx/unit/websocket/server/package-info.java
/unit/src/java/nxt_jni_Request.c
/unit/src/java/nxt_jni_Request.h
/unit/src/nxt_java.c
/unit/test/unit/applications/lang/java.py
Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0
1131:ec7d924d8dfb20-Aug-2019 Max Romanov

Introducing websocket support in router and libunit.

1108:8788f96701d517-Jul-2019 Valentin Bartenev

Perl: propagated compile options from perl build.

Some Perl compile options affects ABI and not using them while compiling
our module resulted in non-working build.

Notably on 32-bit Debian 10, Per

Perl: propagated compile options from perl build.

Some Perl compile options affects ABI and not using them while compiling
our module resulted in non-working build.

Notably on 32-bit Debian 10, Perl is built with -D_FILE_OFFSET_BITS=64
and our module after being compiled without this option caused segmentation
faults in unexpected places.

show more ...

1107:8269bf9e736e17-Jul-2019 Valentin Bartenev

Perl: removed "--include=" configure option.

It's surplus option because the perl executable returns the proper path.

Also the Perl module configure script was cleaned up a bit.
Note that NXT_PERL_

Perl: removed "--include=" configure option.

It's surplus option because the perl executable returns the proper path.

Also the Perl module configure script was cleaned up a bit.
Note that NXT_PERL_LDOPTS already contains the library path.

show more ...

Revision tags: 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0
977:4f9268f27b5728-Feb-2019 Max Romanov

Introducing Java Servlet Container beta.


conf
java
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
/unit/src/ruby/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
968:dd79860ee5b927-Feb-2019 Valentin Bartenev

Added trailing zero to version string.

While it looks nicer without zero 3-rd version number, this should
improve interoperability. Version string can be parsed or used for
sorting. And it is easi

Added trailing zero to version string.

While it looks nicer without zero 3-rd version number, this should
improve interoperability. Version string can be parsed or used for
sorting. And it is easier to handle and less confusing when there
is constant number of version parts.

Moreover, NPM also expects version format with 3 parts.
So ".0" has already been used in Node.js module version.

show more ...

12345