Liking cljdoc? Tell your friends :D
Binaries of Releases Sources of Releases
New Feature: #270 All handlers can be used at http & server context New Feature: #272 Support Nginx 1.23.X where some internals have been changed New Feature: #250 Support to use jdk19 built-in coroutine viz. Continuation Binaries Distribution: Built with Nginx v1.23.3 Documents: Add build notes for nginx-clojure-embed
Bug Fix: #256 NginxClojureAsynSocket isClosed is not return correct result Binaries Distribution: Built with Nginx v1.20.2
Bug Fix: #234 Try to fix no response when NGX_AGAIN return at next header filter Bug Fix: #233 Fix compiler warnings when there's no zlib found Enhancement: Delayed update to improve setVariable/set-ngx-var! performance at thread-pool mode Example Project: Add an example project for Jersey & Spring DI Example Project: Add example for integration with Spring framework Binaries Distribution: Built with Nginx v1.18.0
Bug Fix: Connection hangs with header filter at thread-pool mode #209 #153 Bug Fix: Body filter hangs when body size is larger than the value specified in proxy_buffers #219 Bug Fix: Segment fault caused by request is marked as closed too late #222 Code Style: Fix generic warnings in java code code-style #223 (Thanks to Michael @mgoblin) Bug Fix: NPE caused by damaged memory because unsafe modify response headers #198 Bug Fix: Wrong response for uncompressed message with PMCE enabled CI: both auto-triggered unit test and integration test use travis-ci
New Feature: Java 9, 10, 11, 12 support. But Java 6 and Java 7 are deprecated now. New Feature: Log handler New Feature: HTTP V2 support (thanks to Nginx v1.14.2) Bug Fix: Memory leak with file handler #180 Bug Fix: Zero buffer error when hijack_send empty string #181 Bug Fix: Mysql driver issue about jdbc4 flag Bug Fix: ContainsKey of nginx shared map Bug Fix: NginxRequest.setVariable in a rewrite handler will hang Bug Fix: Segmentation fault on shutdown Bug Fix: Make clojure request map immutable for compojure Enhancement: API for discarding request body (request.discardRequestBody()) Enhancement: Coroutine support for cascade constructor invoking Enhancement: Configurable headers/variables prefetch for more safety in multithreaded mode Binaries Distribution: built with Nginx v1.14.2
New Feature: Support to be compiled as Nginx dynamic module, thanks to Andrew Hutchings Bug Fix: Cannot add multiple Cookies in a response Bug Fix: Too many empty chunks are passed to Body filter & some body data lost Enhancement: [Nginx-Jersey] Support jersey application sub class Enhancement: Try to use enviroment variable JAVA_HOME to detect jvm when jvm_path is auto Enhancement: NginxSharedHashMap.keySet/values/entrySet for debug/test usage. Bug Fix: Can not use more than two shared maps. Bug Fix: NullPointerExecption will happen when multiple rewrite handlers are invoked for one request Bug Fix: Can't access ring request data in Sente handler. (content_handler_property fore-prefetch-all-properties true;) Enhancement: Compile against Nginx 1.11 & Nginx 1.12 Bug Fix: Nginx reload will cause connection reset without response Bug Fix: Header filter can not change response status from upstream Bug Fix: body filters sometimes crash under thread pool mode Binaries Distribution: built with the latest stable Nginx v1.12.0 & openssl v1.1.0e
New Feature: experimental nginx body filter by Java/Clojure/Groovy (issue #107) New Feature: read request body by event callback (issue #109) Bug Fix: 500 (internal server error) returns when committing 2000+ files to nginx as a proxy for apache mod_dav_svn (issue #106)
New Feature: Add directive jvm_classpath which supports wildcard character * (issue #95) New Feature: Add directive jvm_classpath_check which is enabled by default and when it is enabled access permission about classpaths will be checked. New Feature: Add NginxPubSubTopic(Java)/PubSubTopic(Clojure) to simplify handling messages among Nginx worker processes. (issue #97) New Feature: Shared Map based on shared memory (issue #96) and it has two implementations : tinymap & hashmap. New Feature: Shared Map based Ring session store (issue #98) Enhancement: on-broadcast-event-decode!/on-broadcast! returns a removal function which can be used to remove the registered decoder/listener Enhancement: embedded nginx-clojure becomes friendly to mock tests and also fix issue #101 Bug Fix: After stopping an embedded Nginx-Clojure server keep-alived connections become CLOSE_WAIT. Bug Fix: HackUtil.decode decodes unnecessary chars when several strings share one char[] generally on JDK 6 Bug Fix: jvm crashes with thread pool mode when open_file_cache is enabled. Bug Fix: Fix compile errors when no sha1-implementation/zlib can be found (issue #99) Example Project: Add an example project about clojure web dev to show how to develop & deploy with Nginx-Clojure. Thanks to Peter Taoussanis without whose
comments there would not be such example project. (issue #91) Documents: Add Directives Reference
New Feature: Support Sente (issue #87, see this PR ) New Feature: Per-message Compression Extensions (PMCEs) for WebSocket (issue #88) New Feature: Add add-aggregated-listener!
in HttpServerChannel to makes handling small but fragmented websocket messages easier by clojure. Enhancement: Support to build on a Linux ARM machine Bug Fix: WebSocket and Server Channel do not Work with Some Ring Middlewares (issue #89) Bug Fix: Autodetect jvm_path doesn't work sometimes
New Feature: Coroutine based socket supports unix domain socket New Feature: APIs for Embedding Nginx-Clojure into a standard Clojure/Java/Groovy App (issue #86) New Feature: Autodetect jvm_path (issue #85) New Feature: Support to use annotation to mark a class or method to be suspenable in coroutine context (issue #84) Enhancement: Auto send error when meets a non websocket request with auto_upgrade_ws
is on Enhancement: Add websocket-upgrade!
to server channel API Enhancement: Add WholeMessageAdapter
to make handling small websocket messages easier. Bug Fix: NginxHttpServerChannel.write(ByteBuffer buf) does not reset the buffer's position (issue #83) Bug Fix: No access to tomcat server 8.24 from nginx-clojure (issue #82) Binaries Distribution: Including some java sources for easy debug. Build Script: Autodetect JNI header files
New Feature: Server Side Websocket (issue #73) New Feature: A build-in Jersey container to support java standard RESTful web services (JAX-RS 2.0) (issue #74) New Feature: Tomcat 8 embedding support (so servlet 3.1/jsp/sendfile/JSR-356 websocket work within nginx!) (issue #67) New Feature: Coroutined Based Client Socket Supports to Bind to Specified IP Address (issue #69) New Feature: Handler's Property Configuration (issue #66) Enhancement: NginxHttpServerChannel can work with Rewrite Handler or Access Handler (issue #79) Enhancement: Configurable Write Buffer Size for SSE or Websocket (issue #76) Bug Fix: When we do not configure jvm_path proxy_pass will not work (issue #72) Bug Fix: nginx worker restart when get the value of header X-Forwarded-For (issue #70) Bug Fix: proxy_cache_path causes crash (issue #64) Bug Fix: send_timeout does not take effect with NginxHttpServerChannel (issue #78) Bug Fix: Waving tool generates wrong wave information of fuzzing classes (issue #80) Documents : Release History link in README (issue #68) Binaries Distribution: built with The latest stable Nginx v1.8.0 which released at 2015-04-21.
Discard: Directive clojure
, clojure_code
are no longer supported, use handler_type
/content_handler_type
,
handler_name
/content_handler_name
, handler_code
/content_handler_code
instead. Discard: Now handler_***
can not be used to declare a nginx worker initialization handler, use `jvm_init_handler_*** instead. New Feature: Supports writing nginx access handler by java/clojure/groovy (issue #53) New Feature: Supports writing nginx header filter by java/clojure/groovy (issue #55) New Feature: Add new directive max_balanced_tcp_connections
to make nginx auto set worker_connections. Enhancement: For Java We can use r.setVariable, r.getVariable now if r is an instance of NginxJavaRequest. Deprecated Directives: handler_type, handler_name, handler_code are deprecated and maybe will be removed in the next version, add new directive content_handler_type, content_handler_code, content_handler_code New Directives: rewrite_handler_type, access_handler_type, header_filter_type, body_filter_type New Feature: Supports nested locations (issue #56) Bug Fix : uppercase letters in nginx variable name can not work (issue #54) Bug Fix: The first registered handler will not work if there 's a asynchronous reading of request body (issue #51) Enhancement: handlers_lazy_init
can be used to make handler initialized lazily or eagerly (issue #52)
New Feature: Compiling option for disabling all functions silently when JVM_PATH not configured. (issue #47) New Feature: Access request BODY in rewrite handler (issue #49) Enhancement : Optimization of encoding String to Nginx temp buffer chain to reduce Java heap memory usage and improve the performance.
Fix Bug: rewrite handler does not handle write event correctly with thread pool mode or coroutine mode (issue #43) Fix Bug: built-in jvm variable #{pno} doesn't work (issue #44) Fix Bug: rewrite_handler_name does not work without content handler (issue #45). Thanks Eric Kubacki for finding this bug. Fix Bug: rewrite handler does not handle write event correctly with thread pool mode or coroutine mode (issue #43) Documents : Correct some inaccuracies and add section about logging in Chapter More about Nginx-Clojure Binaries: built with The latest stable Nginx v1.6.2 which released at 2014-09-16.
New Feature: Reference variables in jvm_options & different jvm debug ports for jvm processes (issue #42) New Feature: Server Sent Events(SSE) & Long polling (issue #41, issue #36) New Feature: Supports 64-bit JDK on 64-bit Windows (issue #40) New Feature: Coroutine based socket supports JDK8 (issue #39) New Feature: More easier to archive Sub/Pub services with Broadcast Events to all Nginx workers (issue #39) New Feature: Asynchronous Channel a wrapper of asynchronous socket to make the usage easier (issue #37) Enhancement: Fix--On Windows a little many write events happen and these events seem useless (issue #35)
New Feature: Support Groovy - another dynamic jvm language (issue #34) Fix bug: Slow Memory Leak for Coroutine based Socket bug (issue #32 ) Fix bug: Should Clone ThreadLocals for Coroutines (issue #31) New Feature: More friendly to java users who maybe know nothing about clojure feature (issue #29) Five new nginx directives handler_type
, handler_name
, handler_code
, rewrite_handler_name
, rewrite_handler_code
.
Make Clojure/Java/Groovy handler configurations have the same form. e.g. The old pair of nginx directives clojure
, clojure_code
is equivalent to handler_type='clojure'
+ handler_code
.
Fix issue After invoking on coroutine based socket nginx worker will exit and be recreated when network is disabled (issue #26) Fix issue PATCH loses the data payload (issue #27) Support user defined http request method (issue #28 ) Fix issue Nginx worker crashes when to fetch http header "authorization" from request (issue #30)
Fix bug of with Compojure 1.1.5 + Apache Solrj 4.3.0 + httpclient 4.3.2 NPE happens first time then everything is OK (issue #22) Verifying option for auto generated waving configurations needed by coroutine based socket (issue #23)
Support to close coroutine based socket from non-main thread (issue #19) Auto generated waving class configurations about Proxy InvocationHandler instance (issue #17 ) Supports auto turn on thread pool mode when turning on Run Tool Mode feature (issue #16 ) Fix bug of reading from coroutine based socket inputstream returns 0 when eof, should return -1 (issue #15) Handle multiple sockets parallel in sub coroutines, e.g. we can invoke two remote services at the same time feature (issue #14) Support nginx rewrite handler to set var before proxy pass (issue #3)
non-blocking socket based on coroutine and compatible with largely existing java library such as apache http client, mysql jdbc drivers asynchronous callback API of socket for some advanced usage run initialization clojure code when nginx worker starting provide a build-in tool to make setting of coroutine based socket easier support Linux 32bit x86 now publish binary release compiled with lastes stable nginx 1.6.0 about Linux x64, Linux i586, Win32 & MacOS X
fix #2 Problems with HTTP Redirect 302 header names are case-insensitive now. publish binary release about Linux x64, Win32 & MacOS X
Supports InputStream, ISeq & recursive ISeq in Response Body. Auto maintains HTTP last-modified header for multiple files in Response Body
Compitiable with Ring Spec (1.1) Supports Java Thread Pool for handle request Fast Static File Service
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close