You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CoreFeatures.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
Core Features
2
2
=================
3
3
4
-
The latest release is v0.5.2, more detail changes about it can be found from [Release History](//nginx-clojure.github.io/downloads.html).
4
+
The latest release is v0.5.3, more detail changes about it can be found from [Release History](//nginx-clojure.github.io/downloads.html).
5
5
6
6
1. Compatible with [Ring](https://github.com/ring-clojure/ring/blob/master/SPEC) and obviously supports those Ring based frameworks, such as Compojure etc.
7
7
1. Http Services by using Clojure / Java / Groovy to write simple handlers for http services.
8
8
1. Nginx Access Handler by Clojure / Java / Groovy
9
9
1. Nginx Header Filter by Clojure / Java / Groovy
10
10
1. Nginx Body Filter by Clojure / Java / Groovy
11
-
1.**_NEW_**: Nginx Log Handler by Clojure / Java / Groovy
12
-
1.**_NEW_**: HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0
13
-
1.**_NEW_**: Support Java 9, 10, 11, 12
11
+
1. Nginx Log Handler by Clojure / Java / Groovy
12
+
1. HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0+
13
+
1. Support Java 9, 10, 11, 12
14
14
1. Pub/Sub Among Nginx Worker Processes
15
15
1. Shared Map based on shared memory & Shared Map based Ring session store
16
16
1. Support Sente, see [this PR](https://github.com/ptaoussanis/sente/pull/160)
@@ -27,7 +27,7 @@ With this feature one java main thread can handle thousands of connections.
27
27
1. Long Polling & Server Sent Events
28
28
1. Run initialization clojure code when nginx worker starting
29
29
1. Support user defined http request method
30
-
1. Compatible with the Nginx lastest most stable version 1.18.0. (Nginx 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)
30
+
1. Compatible with the Nginx lastest most stable version 1.20.2. (Nginx 1.18.x, 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)
31
31
1. One of benifits of [Nginx](http://nginx.org/) is worker processes are automatically restarted by a master process if they crash
32
32
1. Utilize lazy headers and direct memory operation between [Nginx](http://nginx.org/) and JVM to fast handle dynamic contents from Clojure or Java code.
33
33
1. Utilize [Nginx](http://nginx.org/) zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.
@@ -47,19 +47,19 @@ Nginx-Clojure has already been published to https://clojars.org/ whose maven rep
47
47
</repository>
48
48
```
49
49
50
-
After adding clojars repository, you can reference nginx-clojure 0.5.2 , e.g.
50
+
After adding clojars repository, you can reference nginx-clojure 0.5.3 , e.g.
51
51
52
52
Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen)
<p>The latest release is v0.5.2, more detail changes about it can be found from <ahref="//nginx-clojure.github.io/downloads.html" rel="nofollow">Release History</a>.</p>
3
+
<p>The latest release is v0.5.3, more detail changes about it can be found from <ahref="//nginx-clojure.github.io/downloads.html" rel="nofollow">Release History</a>.</p>
4
4
<ol>
5
5
<li>Compatible with <ahref="https://github.com/ring-clojure/ring/blob/master/SPEC">Ring</a> and obviously supports those Ring based frameworks, such as Compojure etc.</li>
6
6
<li>Http Services by using Clojure / Java / Groovy to write simple handlers for http services.</li>
7
7
<li>Nginx Access Handler by Clojure / Java / Groovy</li>
8
8
<li>Nginx Header Filter by Clojure / Java / Groovy</li>
9
9
<li>Nginx Body Filter by Clojure / Java / Groovy</li>
10
-
<li>
11
-
<strong><em>NEW</em></strong>: Nginx Log Handler by Clojure / Java / Groovy</li>
12
-
<li>
13
-
<strong><em>NEW</em></strong>: HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0</li>
14
-
<li>
15
-
<strong><em>NEW</em></strong>: Support Java 9, 10, 11, 12</li>
10
+
<li>Nginx Log Handler by Clojure / Java / Groovy</li>
11
+
<li>HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0+</li>
12
+
<li>Support Java 9, 10, 11, 12</li>
16
13
<li>Pub/Sub Among Nginx Worker Processes</li>
17
14
<li>Shared Map based on shared memory & Shared Map based Ring session store</li>
18
15
<li>Support Sente, see <ahref="https://github.com/ptaoussanis/sente/pull/160">this PR</a>
@@ -30,7 +27,7 @@ <h1>
30
27
<li>Long Polling & Server Sent Events</li>
31
28
<li>Run initialization clojure code when nginx worker starting</li>
32
29
<li>Support user defined http request method</li>
33
-
<li>Compatible with the Nginx lastest most stable version 1.18.0. (Nginx 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li>
30
+
<li>Compatible with the Nginx lastest most stable version 1.20.2. (Nginx 1.18.x, 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li>
34
31
<li>One of benifits of <ahref="http://nginx.org/" rel="nofollow">Nginx</a> is worker processes are automatically restarted by a master process if they crash</li>
35
32
<li>Utilize lazy headers and direct memory operation between <ahref="http://nginx.org/" rel="nofollow">Nginx</a> and JVM to fast handle dynamic contents from Clojure or Java code.</li>
36
33
<li>Utilize <ahref="http://nginx.org/" rel="nofollow">Nginx</a> zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.</li>
<p>After adding clojars repository, you can reference nginx-clojure 0.5.2 , e.g.</p>
44
+
<p>After adding clojars repository, you can reference nginx-clojure 0.5.3 , e.g.</p>
48
45
<h2>
49
46
<aid="user-content-leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" class="anchor" href="#leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" aria-hidden="true"><spanaria-hidden="true" class="octicon octicon-link"></span></a>Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen)</h2>
<li>Download the latest binaries release v0.5.2 from <ahref="https://sourceforge.net/projects/nginx-clojure/files/" rel="nofollow">here</a>.</li>
6
+
<li>Download the latest binaries release v0.5.3 from <ahref="https://sourceforge.net/projects/nginx-clojure/files/" rel="nofollow">here</a>.</li>
7
7
<li>Unzip the zip file downloaded then rename the file <code>nginx-${os-arc}</code> to <code>nginx</code>, eg. for linux is <code>nginx-linux-x64</code>
<p>The latest release is v0.5.2, more detail changes about it can be found from <ahref="//nginx-clojure.github.io/downloads.html" rel="nofollow">Release History</a>.</p>
105
+
<p>The latest release is v0.5.3, more detail changes about it can be found from <ahref="//nginx-clojure.github.io/downloads.html" rel="nofollow">Release History</a>.</p>
106
106
<ol>
107
107
<li>Compatible with <ahref="https://github.com/ring-clojure/ring/blob/master/SPEC">Ring</a> and obviously supports those Ring based frameworks, such as Compojure etc.</li>
108
108
<li>Http Services by using Clojure / Java / Groovy to write simple handlers for http services.</li>
109
109
<li>Nginx Access Handler by Clojure / Java / Groovy</li>
110
110
<li>Nginx Header Filter by Clojure / Java / Groovy</li>
111
111
<li>Nginx Body Filter by Clojure / Java / Groovy</li>
112
-
<li>
113
-
<strong><em>NEW</em></strong>: Nginx Log Handler by Clojure / Java / Groovy</li>
114
-
<li>
115
-
<strong><em>NEW</em></strong>: HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0</li>
116
-
<li>
117
-
<strong><em>NEW</em></strong>: Support Java 9, 10, 11, 12</li>
112
+
<li>Nginx Log Handler by Clojure / Java / Groovy</li>
113
+
<li>HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0+</li>
114
+
<li>Support Java 9, 10, 11, 12</li>
118
115
<li>Pub/Sub Among Nginx Worker Processes</li>
119
116
<li>Shared Map based on shared memory & Shared Map based Ring session store</li>
120
117
<li>Support Sente, see <ahref="https://github.com/ptaoussanis/sente/pull/160">this PR</a>
@@ -132,7 +129,7 @@ <h1>
132
129
<li>Long Polling & Server Sent Events</li>
133
130
<li>Run initialization clojure code when nginx worker starting</li>
134
131
<li>Support user defined http request method</li>
135
-
<li>Compatible with the Nginx lastest most stable version 1.18.0. (Nginx 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li>
132
+
<li>Compatible with the Nginx lastest most stable version 1.20.2. (Nginx 1.18.x, 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li>
136
133
<li>One of benifits of <ahref="http://nginx.org/" rel="nofollow">Nginx</a> is worker processes are automatically restarted by a master process if they crash</li>
137
134
<li>Utilize lazy headers and direct memory operation between <ahref="http://nginx.org/" rel="nofollow">Nginx</a> and JVM to fast handle dynamic contents from Clojure or Java code.</li>
138
135
<li>Utilize <ahref="http://nginx.org/" rel="nofollow">Nginx</a> zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.</li>
<p>After adding clojars repository, you can reference nginx-clojure 0.5.2 , e.g.</p>
146
+
<p>After adding clojars repository, you can reference nginx-clojure 0.5.3 , e.g.</p>
150
147
<h2>
151
148
<aid="user-content-leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" class="anchor" href="#leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" aria-hidden="true"><spanaria-hidden="true" class="octicon octicon-link"></span></a>Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen)</h2>
Copy file name to clipboardExpand all lines: more.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -265,7 +265,7 @@ <h3>
265
265
<aid="user-content-send-messages-for-server-sent-events-sse" class="anchor" href="#send-messages-for-server-sent-events-sse" aria-hidden="true"><spanaria-hidden="true" class="octicon octicon-link"></span></a>Send Messages for Server Sent Events (SSE)</h3>
266
266
267
267
<p>First we can use <code>send-headers!</code>(Clojure) or <code>sendHeaders</code> (Java/Groovy) to send a SSE header. Then we
268
-
can use <code>send!</code> (Clojure) or <code>send</code> (Java/Groovy) to send later messages. The last two parameters of the send
268
+
can use <code>send!</code> (Clojure) or <code>send</code> (Java/Groovy) to send later messages. The last two parameters of a send
269
269
function is used to flush a message or close the channel after sending the current message.</p>
270
270
271
271
<p>For Clojure:</p>
@@ -350,7 +350,7 @@ <h2>
350
350
API is similar to Java 7 NIO.2 Asynchronous Channel and more details can be found from issue #37 and its comments
<li>Download the latest binaries release v0.5.2 from <ahref="https://sourceforge.net/projects/nginx-clojure/files/" rel="nofollow">here</a>.</li>
108
+
<li>Download the latest binaries release v0.5.3 from <ahref="https://sourceforge.net/projects/nginx-clojure/files/" rel="nofollow">here</a>.</li>
109
109
<li>Unzip the zip file downloaded then rename the file <code>nginx-${os-arc}</code> to <code>nginx</code>, eg. for linux is <code>nginx-linux-x64</code>
0 commit comments