eventmachine 1.2.0.dev.2-x86-mingw32 → 1.2.0-x86-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: 199fa0af2fdede2b8d9d66fdd724c6d836043b44
4
- data.tar.gz: ec3160e659a2f1b3903ea9be5474652832e9c6d0
3
+ metadata.gz: 05cb4f49995bb56462270cb53d0d42c8b7e29121
4
+ data.tar.gz: 311dfb0308f8634e60f78d5a16e1066317e408b3
5
5
  SHA512:
6
- metadata.gz: 41e15ef05fa420324f82802580a076935018159263f95c2ffd344e7b13d28ccf9461610ce64bfd1d006cce56c7408f91260fad103396f7f603f0ba52bf30c1cb
7
- data.tar.gz: db2886956369bb59177e1bc3c2b0c2c6ee1557f61c518fce4bf0b9a018acd4751ac391f6c230a4d0a791a5d1157b7dd5a48a079b7e393704973ff6ae042636be
6
+ metadata.gz: 76722f4b7d167c14e947cb4499610cfdeb9144fc5f55910024e51207f5e96194a97a92cd84bd00b60a5e9a8251e070d08dffd55aa7959b8baa1f28fdf407ec86
7
+ data.tar.gz: 8ae4853f54656650c25b64e6ddb44bb15bf537aa25837cf0d93e72fd44393549d253ce96d299ecf1210663fd2bea4ea0b9c000efe7101fc3cb2ccb454f32e0f3
@@ -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
@@ -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
Binary file
Binary file
@@ -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: x86-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
@@ -291,9 +291,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
291
291
  version: '0'
292
292
  required_rubygems_version: !ruby/object:Gem::Requirement
293
293
  requirements:
294
- - - ">"
294
+ - - ">="
295
295
  - !ruby/object:Gem::Version
296
- version: 1.3.1
296
+ version: '0'
297
297
  requirements: []
298
298
  rubyforge_project:
299
299
  rubygems_version: 2.5.1