eventmachine-le 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e2f9389445ce3148258264910dc0e85ed7d31fcd
4
+ data.tar.gz: 162e220e9230f8a13af93f3a2c08bfcfc039cb08
5
+ SHA512:
6
+ metadata.gz: 67e019b23d80a34a628ee45a31332e8014964c58a8cb1b3095bfc8e1aab415d38875ee6a36e33b54efcf2dd07d35aead26fb75a4bf2f8e83fc953e6338f8199f
7
+ data.tar.gz: 87d0f61038ae7dd07ca5c46bdd35efc9622d8750298830cdbbf35f7af30e0d135b962640c5c528953348eac8362a434a3bd15c773ce8bef428987a402603fc28
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
20
20
  s.extensions = ["ext/extconf.rb", "ext/fastfilereader/extconf.rb"]
21
21
 
22
22
  s.required_ruby_version = ">= 1.8.7"
23
- s.add_development_dependency 'rake-compiler', '~> 0.8.3'
24
- s.add_development_dependency 'yard', ">= 0.8.5.2"
25
- s.add_development_dependency 'bluecloth' unless RUBY_PLATFORM =~ /java/
23
+ s.add_development_dependency 'rake-compiler', '~> 0.8', '>= 0.8.3'
24
+ s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.5.2'
25
+ s.add_development_dependency 'bluecloth', '~> 0' unless RUBY_PLATFORM =~ /java/
26
26
 
27
27
  s.summary = "EventMachine LE (Live Edition)"
28
28
  s.description = "EventMachine-LE (Live Edition) is a branch of EventMachine (https://github.com/eventmachine/eventmachine).
data/ext/ed.cpp CHANGED
@@ -841,6 +841,7 @@ void ConnectionDescriptor::_DispatchInboundData (const char *buffer, int size)
841
841
 
842
842
  // If our SSL handshake had a problem, shut down the connection.
843
843
  if (s == -2) {
844
+ UnbindReasonCode = EPROTO;
844
845
  ScheduleClose(false);
845
846
  return;
846
847
  }
@@ -315,7 +315,7 @@ int SslBox_t::GetPlaintext (char *buf, int bufsize)
315
315
  {
316
316
  if (!SSL_is_init_finished (pSSL)) {
317
317
  int e = bIsServer ? SSL_accept (pSSL) : SSL_connect (pSSL);
318
- if (e < 0) {
318
+ if (e != 1) {
319
319
  int er = SSL_get_error (pSSL, e);
320
320
  if (er != SSL_ERROR_WANT_READ) {
321
321
  // Return -1 for a nonfatal error, -2 for an error that should force the connection down.
@@ -331,7 +331,7 @@ int SslBox_t::GetPlaintext (char *buf, int bufsize)
331
331
  if (!SSL_is_init_finished (pSSL)) {
332
332
  // We can get here if a browser abandons a handshake.
333
333
  // The user can see a warning dialog and abort the connection.
334
- cerr << "<SSL_incomp>";
334
+ //cerr << "<SSL_incomp>";
335
335
  return 0;
336
336
  }
337
337
 
@@ -1,4 +1,4 @@
1
1
  module EventMachine
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventmachine-le
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
5
- prerelease:
4
+ version: 1.1.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Francis Cianfrocca
@@ -11,87 +10,74 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-10-07 00:00:00.000000000 Z
13
+ date: 2014-09-10 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rake-compiler
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ~>
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.8'
22
+ - - ">="
22
23
  - !ruby/object:Gem::Version
23
24
  version: 0.8.3
24
25
  type: :development
25
26
  prerelease: false
26
27
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
28
  requirements:
29
- - - ~>
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '0.8'
32
+ - - ">="
30
33
  - !ruby/object:Gem::Version
31
34
  version: 0.8.3
32
35
  - !ruby/object:Gem::Dependency
33
36
  name: yard
34
37
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
38
  requirements:
37
- - - ! '>='
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.8'
42
+ - - ">="
38
43
  - !ruby/object:Gem::Version
39
44
  version: 0.8.5.2
40
45
  type: :development
41
46
  prerelease: false
42
47
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
48
  requirements:
45
- - - ! '>='
49
+ - - "~>"
50
+ - !ruby/object:Gem::Version
51
+ version: '0.8'
52
+ - - ">="
46
53
  - !ruby/object:Gem::Version
47
54
  version: 0.8.5.2
48
55
  - !ruby/object:Gem::Dependency
49
56
  name: bluecloth
50
57
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
58
  requirements:
53
- - - ! '>='
59
+ - - "~>"
54
60
  - !ruby/object:Gem::Version
55
61
  version: '0'
56
62
  type: :development
57
63
  prerelease: false
58
64
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
65
  requirements:
61
- - - ! '>='
66
+ - - "~>"
62
67
  - !ruby/object:Gem::Version
63
68
  version: '0'
64
- description: ! 'EventMachine-LE (Live Edition) is a branch of EventMachine (https://github.com/eventmachine/eventmachine).
65
-
66
-
67
- This branch incorporates interesting pull requests that are not yet included in
68
- the mainline EventMachine repository. The maintainers of that version prefer to
69
- minimize change in order to keep the stability with already existing EventMachine
70
- deployments, which provides an impressive multi-platform base for IPv4 TCP servers
71
- (e.g., Web servers) that don''t need good UDP or IPv6 support.
72
-
73
-
74
- This dedication to stability is helpful for production use, but can also lead to
75
- ossification. The present "Live Edition" or "Leading Edge" branch has its focus
76
- on supporting a somewhat wider use, including new Web servers or protocols beyond
77
- the HTTP Web.
78
-
79
-
80
- To provide even more focus, this branch is currently applying its energy towards
81
- Linux and Unix/BSD/OSX environments. Java reactor and pure Ruby reactor are for
82
- now removed in this branch, and Windows/Cygwin support is untested. This may very
83
- well change later, once interesting pull requests come in.
69
+ description: |
70
+ EventMachine-LE (Live Edition) is a branch of EventMachine (https://github.com/eventmachine/eventmachine).
84
71
 
72
+ This branch incorporates interesting pull requests that are not yet included in the mainline EventMachine repository. The maintainers of that version prefer to minimize change in order to keep the stability with already existing EventMachine deployments, which provides an impressive multi-platform base for IPv4 TCP servers (e.g., Web servers) that don't need good UDP or IPv6 support.
85
73
 
86
- EventMachine-LE draws from a number of dormant pull requests on the mainline version
87
- of EventMachine. New proposals will also directly come to EventMachine-LE and will
88
- be included once they are tested.
74
+ This dedication to stability is helpful for production use, but can also lead to ossification. The present "Live Edition" or "Leading Edge" branch has its focus on supporting a somewhat wider use, including new Web servers or protocols beyond the HTTP Web.
89
75
 
76
+ To provide even more focus, this branch is currently applying its energy towards Linux and Unix/BSD/OSX environments. Java reactor and pure Ruby reactor are for now removed in this branch, and Windows/Cygwin support is untested. This may very well change later, once interesting pull requests come in.
90
77
 
91
- This is not a "development branch", EventMachine-LE is ready for production, just
92
- beyond the focus of mainline EventMachine.
78
+ EventMachine-LE draws from a number of dormant pull requests on the mainline version of EventMachine. New proposals will also directly come to EventMachine-LE and will be included once they are tested.
93
79
 
94
- '
80
+ This is not a "development branch", EventMachine-LE is ready for production, just beyond the focus of mainline EventMachine.
95
81
  email:
96
82
  - garbagecat10@gmail.com
97
83
  - aman@tmm1.net
@@ -103,9 +89,9 @@ extensions:
103
89
  - ext/fastfilereader/extconf.rb
104
90
  extra_rdoc_files:
105
91
  - README.md
106
- - .gitignore
107
- - .travis.yaml
108
- - .yardopts
92
+ - ".gitignore"
93
+ - ".travis.yaml"
94
+ - ".yardopts"
109
95
  - GNU
110
96
  - Gemfile
111
97
  - LICENSE
@@ -236,9 +222,9 @@ extra_rdoc_files:
236
222
  - tests/test_udp46.rb
237
223
  - tests/test_unbind_reason.rb
238
224
  files:
239
- - .gitignore
240
- - .travis.yaml
241
- - .yardopts
225
+ - ".gitignore"
226
+ - ".travis.yaml"
227
+ - ".yardopts"
242
228
  - GNU
243
229
  - Gemfile
244
230
  - LICENSE
@@ -373,33 +359,31 @@ homepage: https://github.com/ibc/EventMachine-LE/
373
359
  licenses:
374
360
  - Ruby
375
361
  - GPL
362
+ metadata: {}
376
363
  post_install_message:
377
364
  rdoc_options:
378
- - --title
365
+ - "--title"
379
366
  - EventMachine-LE
380
- - --main
367
+ - "--main"
381
368
  - README.md
382
- - -x
369
+ - "-x"
383
370
  - lib/em/version
384
371
  require_paths:
385
372
  - lib
386
373
  required_ruby_version: !ruby/object:Gem::Requirement
387
- none: false
388
374
  requirements:
389
- - - ! '>='
375
+ - - ">="
390
376
  - !ruby/object:Gem::Version
391
377
  version: 1.8.7
392
378
  required_rubygems_version: !ruby/object:Gem::Requirement
393
- none: false
394
379
  requirements:
395
- - - ! '>='
380
+ - - ">="
396
381
  - !ruby/object:Gem::Version
397
382
  version: '0'
398
383
  requirements: []
399
384
  rubyforge_project:
400
- rubygems_version: 1.8.23
385
+ rubygems_version: 2.2.2
401
386
  signing_key:
402
- specification_version: 3
387
+ specification_version: 4
403
388
  summary: EventMachine LE (Live Edition)
404
389
  test_files: []
405
- has_rdoc: