eventmachine 1.0.9 → 1.0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/ext/ed.cpp +5 -0
- data/ext/em.cpp +1 -3
- data/ext/extconf.rb +1 -0
- data/lib/em/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9accfa9d0a6fb933ee2745b4730d685199b25a3a
|
4
|
+
data.tar.gz: de5e70e4c6422a5706a57887a497d2e3468a2b80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d8982740ad9880c92fcdf48b0ce0ee2b592e336c56352a17fe3b7aa6cce938ef14d213c09d7b1d9d4a85605f314ab668d726a0f50d74e80d48eaa6d4e8f040a
|
7
|
+
data.tar.gz: 67325efc4257b6b9eb1853ac562b147990b3c780d993e2b00b2163babb1bc923efa06976d209c80154f15100b2beee21b5bdbab3d623abfd18afd6de4788b1b1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.9.1 (January 14, 2016)
|
4
|
+
* Fix EPROTO not defined on Windows [#676]
|
5
|
+
* Fix missing cast to struct sockaddr * [#671]
|
6
|
+
* Fix bug in OpenSSL path detection [#675]
|
7
|
+
|
3
8
|
## 1.0.9 (January 13, 2016)
|
4
9
|
* Try more ways to detect OpenSSL [#602, #643, #661, #663, #668, #669]
|
5
10
|
* Use WSAGetLastError in pipe.cpp same as ed.cpp [#659]
|
data/ext/ed.cpp
CHANGED
@@ -873,7 +873,12 @@ void ConnectionDescriptor::_DispatchInboundData (const char *buffer, unsigned lo
|
|
873
873
|
|
874
874
|
// If our SSL handshake had a problem, shut down the connection.
|
875
875
|
if (s == -2) {
|
876
|
+
#ifdef OS_UNIX
|
876
877
|
UnbindReasonCode = EPROTO;
|
878
|
+
#endif
|
879
|
+
#ifdef OS_WIN32
|
880
|
+
UnbindReasonCode = WSAECONNABORTED;
|
881
|
+
#endif
|
877
882
|
ScheduleClose(false);
|
878
883
|
return;
|
879
884
|
}
|
data/ext/em.cpp
CHANGED
@@ -1239,7 +1239,6 @@ const uintptr_t EventMachine_t::ConnectToServer (const char *bind_addr, int bind
|
|
1239
1239
|
int e = 0;
|
1240
1240
|
|
1241
1241
|
#ifdef OS_UNIX
|
1242
|
-
//if (connect (sd, (sockaddr*)&pin, sizeof pin) == 0) {
|
1243
1242
|
if (connect (sd, (struct sockaddr*)&bind_as, bind_size) == 0) {
|
1244
1243
|
// This is a connect success, which Linux appears
|
1245
1244
|
// never to give when the socket is nonblocking,
|
@@ -1319,8 +1318,7 @@ const uintptr_t EventMachine_t::ConnectToServer (const char *bind_addr, int bind
|
|
1319
1318
|
#endif
|
1320
1319
|
|
1321
1320
|
#ifdef OS_WIN32
|
1322
|
-
|
1323
|
-
if (connect (sd, &bind_as, bind_size) == 0) {
|
1321
|
+
if (connect (sd, (struct sockaddr*)&bind_as, bind_size) == 0) {
|
1324
1322
|
// This is a connect success, which Windows appears
|
1325
1323
|
// never to give when the socket is nonblocking,
|
1326
1324
|
// even if the connection is intramachine or to
|
data/ext/extconf.rb
CHANGED
data/lib/em/version.rb
CHANGED
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.0.9
|
4
|
+
version: 1.0.9.1
|
5
5
|
platform: ruby
|
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-01-
|
12
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|