Skip to content

Commit f3d07bb

Browse files
committed
Don't time out DCC transfers, only the connection attempt
1 parent 78c8c5d commit f3d07bb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
* Cinch 2.3.2, 25 April 2016
2+
- Fix exception and premature timeouts in DCC send
3+
14
* Cinch 2.3.1, 01 November 2015
25
- Fix logging of exceptions, which was broken by Cinch 2.3.0
36
- Fix the accidental removal of hooks. This could lead to hooks
47
never executing or being removed under certain conditions. Anyone
58
relying on hooks, especially those using them for ACL systems,
69
should update to Cinch 2.3.1.
10+
711
* Cinch 2.3.0, 26 October 2015
812
- Add basic support for STATUSMSG messages. These are messages
913
directed at voiced or ops in a channel, by sending a message to
@@ -15,6 +19,7 @@
1519
and other confidential information. See
1620
http://www.rubydoc.info/gems/cinch/file/docs/logging.md for more
1721
information.
22+
1823
* Cinch 2.2.8, 23 October 2015
1924
- Fix WHOIS retry code, don't raise an exception
2025

lib/cinch/dcc/outgoing/send.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def listen
7777
fd = nil
7878
Timeout.timeout(30) do
7979
fd, _ = @socket.accept
80-
send_data(fd)
81-
fd.close
8280
end
81+
send_data(fd)
82+
fd.close
8383
ensure
8484
@socket.close
8585
end

0 commit comments

Comments
 (0)