eventmachine 1.2.0.dev.2-x64-mingw32 → 1.2.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfb3afc1caf32947fcb016515d4316f8ec9563cb
4
- data.tar.gz: 458c9894a5a932db92f8c231ba43264fd3bf9abc
3
+ metadata.gz: 06e00aa073e75b0838eb0176787c71e8869c070d
4
+ data.tar.gz: 1b0f44adf6352fce922661b9be24d9cc3d77b785
5
5
  SHA512:
6
- metadata.gz: a319cd9e97785aec432c06f23bb390b479777e225b439487442e9ac7c0cecc4b50281d191bda48c21dfb775843c408e072ddbb41d908202450165ee0bbdfcc62
7
- data.tar.gz: 40d0d76565fc6a5233ab5227465aa560af6f39df9a556c495887603f401079e5f073416df32ec23ada27250072e0afee47a761f82ed1701b7bc2add043cb5de3
6
+ metadata.gz: 9194f81b3aa62e90053f7d2582808c587c549f40fef7c85d28701116cfd61cb672a5f823ca991162260ea1f6f3b6e88fe3d4b5e335807d071037425e89968fdb
7
+ data.tar.gz: 8a5700d275dd3deb94c4b6e4a103867d5270dd463c6cc7cb10dc37edfad67d816990812eef32e4dcd74a85d2f0fba0b6c718557da1f90293c2bd5278d91a7e7a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0 (March 15, 2016)
4
+ * Integrate work from the EventMachine-LE 1.1.x versions [#570]
5
+ * Add start_tls options :ecdh_curve, :dhparam, :fail_if_no_peer_cert [#195, #275, #399, #665]
6
+ * Add start_tls option :ssl_version for choosing SSL/TLS versions and ciphers [#359, #348, #603, #654]
7
+ * Add start_tls option :sni_hostname to be passed to TLS params [#593]
8
+ * Add method EM::Channel#num_subscribers to get the number of subscribers to a channel [#640]
9
+ * Add support for proc-sources in EM::Iterator [#639]
10
+ * Factor out method cleanup_machine to cleanup code from EM.run [#650]
11
+ * Replace Exception class with StandardError [#637]
12
+ * Close socket on close_connection even after close_connection_after_writing [#694]
13
+ * Allow reusing of datagram socket/setting bind device [#662]
14
+ * Handle deferred exceptions in reactor thread [#486]
15
+ * Reimplement Queue to avoid shift/push performance problem [#311]
16
+ * Windows: Switch from gethostbyname to getaddrinfo, support IPv6 addresses [#303, #630]
17
+ * Windows: Use rake-compiler-dock to cross-compile gems [#627]
18
+ * Windows: Add AppVeyor configuration for Windows CI testing [#578]
19
+ * Windows: Bump rake-compiler to version 0.9.x [#542]
20
+ * Fix compilation on AIX (w/ XLC) [#693]
21
+ * Fix build on OpenBSD [#690]
22
+ * Fix OpenSSL compile issue on AIX 7.1 [#678]
23
+ * Fix EventMachine.fork_reactor keeps the threadpool of the original process [#425]
24
+ * Fix to prevent event machine from stopping when a raise is done in an unbind [#327]
25
+
3
26
  ## 1.0.9.1 (January 14, 2016)
4
27
  * Fix EPROTO not defined on Windows [#676]
5
28
  * Fix missing cast to struct sockaddr * [#671]
data/ext/ed.cpp CHANGED
@@ -235,8 +235,14 @@ EventableDescriptor::ScheduleClose
235
235
 
236
236
  void EventableDescriptor::ScheduleClose (bool after_writing)
237
237
  {
238
- if (IsCloseScheduled())
238
+ if (IsCloseScheduled()) {
239
+ if (!after_writing) {
240
+ // If closing has become more urgent, then upgrade the scheduled
241
+ // after_writing close to one NOW.
242
+ bCloseNow = true;
243
+ }
239
244
  return;
245
+ }
240
246
  MyEventMachine->NumCloseScheduled++;
241
247
  // KEEP THIS SYNCHRONIZED WITH ::IsCloseScheduled.
242
248
  if (after_writing)
@@ -878,6 +884,9 @@ void ConnectionDescriptor::_DispatchInboundData (const char *buffer, unsigned lo
878
884
 
879
885
  // If our SSL handshake had a problem, shut down the connection.
880
886
  if (s == -2) {
887
+ #ifndef EPROTO // OpenBSD does not have EPROTO
888
+ #define EPROTO EINTR
889
+ #endif
881
890
  #ifdef OS_UNIX
882
891
  UnbindReasonCode = EPROTO;
883
892
  #endif
data/ext/extconf.rb CHANGED
@@ -211,7 +211,7 @@ when /linux/
211
211
  CONFIG['LDSHARED'] = "$(CXX) -shared"
212
212
 
213
213
  when /aix/
214
- CONFIG['LDSHARED'] = "$(CXX) -shared -Wl,-G -Wl,-brtl"
214
+ CONFIG['LDSHARED'] = "$(CXX) -Wl,-bstatic -Wl,-bdynamic -Wl,-G -Wl,-brtl"
215
215
 
216
216
  when /cygwin/
217
217
  # For rubies built with Cygwin, CXX may be set to CC, which is just
@@ -90,8 +90,7 @@ when /linux/
90
90
  CONFIG['LDSHARED'] = "$(CXX) -shared"
91
91
 
92
92
  when /aix/
93
- # on Unix we need a g++ link, not gcc.
94
- CONFIG['LDSHARED'] = "$(CXX) -shared -Wl,-G"
93
+ CONFIG['LDSHARED'] = "$(CXX) -Wl,-bstatic -Wl,-bdynamic -Wl,-G -Wl,-brtl"
95
94
 
96
95
  when /cygwin/
97
96
  # For rubies built with Cygwin, CXX may be set to CC, which is just
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/em/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module EventMachine
2
- VERSION = "1.2.0.dev.2"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.dev.2
4
+ version: 1.2.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Francis Cianfrocca
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-25 00:00:00.000000000 Z
12
+ date: 2016-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
@@ -289,9 +289,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
289
289
  version: '0'
290
290
  required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  requirements:
292
- - - ">"
292
+ - - ">="
293
293
  - !ruby/object:Gem::Version
294
- version: 1.3.1
294
+ version: '0'
295
295
  requirements: []
296
296
  rubyforge_project:
297
297
  rubygems_version: 2.5.1