nginxtra 1.4.5.9 → 1.4.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8300fb112197b3b8a5bf7246ef4995d7819215bc
4
- data.tar.gz: a0297b62a50d463dc74499af1b739fbdeae968fc
3
+ metadata.gz: bdbeda6e5a02b626fc9df0916df9c726d3e2b9e3
4
+ data.tar.gz: 0922b841d5cfc95041231b5c830d24b0b64f8af0
5
5
  SHA512:
6
- metadata.gz: 73fce91fc72879f739b0ba898a24d055e6de98157787b07e9755a27aff4a60843946cb064952fa5701afab59aab7a59e46c690b96d81453674fd74d5ea5a0893
7
- data.tar.gz: ebc9a184acf3e931d13fb1cedf30369f7e323bc0ca1e8680e0839ddb78cbd9c4c480f8f302fb46752a1711237e4e7b5c6f9391504adbb21f7382c92b6dda67c9
6
+ metadata.gz: ffa65627a8944545dbd6c32e523807f5822d25c9035b68f1d2cee5f7fa1835dc906eb3d38383a6fa58443842a89b6ca69fbd7707a77f0afb5426f91cd859ca2e
7
+ data.tar.gz: cf43b5f3026eeb525048f6ecd54f1c50ff7003e250eb457b087cb1498c8b596324dd7ab21c35c8a9098d78c45b84ccbdc057b015d4223e054f2f4ae82236518f
data/bin/nginxtra CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require "rubygems"
3
- gem "nginxtra", "= 1.4.5.9"
3
+ gem "nginxtra", "= 1.4.6.9"
4
4
  gem "thor", "~> 0.16"
5
5
  require "nginxtra"
6
6
  Nginxtra::CLI.start
data/bin/nginxtra_rails CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require "rubygems"
3
- gem "nginxtra", "= 1.4.5.9"
3
+ gem "nginxtra", "= 1.4.6.9"
4
4
  gem "thor", "~> 0.16"
5
5
  require "nginxtra"
6
6
  Nginxtra::Rails::CLI.start
@@ -6,7 +6,7 @@ module Nginxtra
6
6
  end
7
7
 
8
8
  def to_s
9
- "1.4.5.9"
9
+ "1.4.6.9"
10
10
  end
11
11
  end
12
12
  end
data/vendor/nginx/CHANGES CHANGED
@@ -1,4 +1,15 @@
1
1
 
2
+ Changes with nginx 1.4.6 04 Mar 2014
3
+
4
+ *) Bugfix: the "client_max_body_size" directive might not work when
5
+ reading a request body using chunked transfer encoding; the bug had
6
+ appeared in 1.3.9.
7
+ Thanks to Lucas Molas.
8
+
9
+ *) Bugfix: a segmentation fault might occur in a worker process when
10
+ proxying WebSocket connections.
11
+
12
+
2
13
  Changes with nginx 1.4.5 11 Feb 2014
3
14
 
4
15
  *) Bugfix: the $ssl_session_id variable contained full session
@@ -1,4 +1,15 @@
1
1
 
2
+ Изменения в nginx 1.4.6 04.03.2014
3
+
4
+ *) Исправление: директива client_max_body_size могла не работать при
5
+ чтении тела запроса с использованием chunked transfer encoding;
6
+ ошибка появилась в 1.3.9.
7
+ Спасибо Lucas Molas.
8
+
9
+ *) Исправление: при проксировании WebSocket-соединений в рабочем
10
+ процессе мог произойти segmentation fault.
11
+
12
+
2
13
  Изменения в nginx 1.4.5 11.02.2014
3
14
 
4
15
  *) Исправление: переменная $ssl_session_id содержала всю сессию в
@@ -9,8 +9,8 @@
9
9
  #define _NGINX_H_INCLUDED_
10
10
 
11
11
 
12
- #define nginx_version 1004005
13
- #define NGINX_VERSION "1.4.5"
12
+ #define nginx_version 1004006
13
+ #define NGINX_VERSION "1.4.6"
14
14
  #define NGINX_VER "nginx/" NGINX_VERSION
15
15
 
16
16
  #define NGINX_VAR "NGINX"
@@ -953,13 +953,13 @@ ngx_http_request_body_chunked_filter(ngx_http_request_t *r, ngx_chain_t *in)
953
953
 
954
954
  if (clcf->client_max_body_size
955
955
  && clcf->client_max_body_size
956
- < r->headers_in.content_length_n + rb->chunked->size)
956
+ - r->headers_in.content_length_n < rb->chunked->size)
957
957
  {
958
958
  ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
959
959
  "client intended to send too large chunked "
960
- "body: %O bytes",
961
- r->headers_in.content_length_n
962
- + rb->chunked->size);
960
+ "body: %O+%O bytes",
961
+ r->headers_in.content_length_n,
962
+ rb->chunked->size);
963
963
 
964
964
  r->lingering_close = 1;
965
965
 
@@ -2456,7 +2456,9 @@ ngx_http_upstream_upgrade(ngx_http_request_t *r, ngx_http_upstream_t *u)
2456
2456
  if (u->peer.connection->read->ready
2457
2457
  || u->buffer.pos != u->buffer.last)
2458
2458
  {
2459
+ ngx_post_event(c->read, &ngx_posted_events);
2459
2460
  ngx_http_upstream_process_upgraded(r, 1, 1);
2461
+ return;
2460
2462
  }
2461
2463
 
2462
2464
  ngx_http_upstream_process_upgraded(r, 0, 1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nginxtra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5.9
4
+ version: 1.4.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Virata-Stone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-11 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor