File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 8
8
* Add ` connection_retries ` config parameter
9
9
* Add ` TransferDeffered ` event indicating the connection to peer couldn't be establish at this time
10
10
* Disallow downloading file for which any path component is larger than 250 characters
11
+ * Fix ocassional missing of ` TransferPaused ` event when toggling libdrop on and off quickly
11
12
12
13
---
13
14
<br >
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ impl TransferManager {
131
131
drop ( conn)
132
132
}
133
133
_ => {
134
+ if let Some ( conn) = & state. conn {
135
+ if !conn. is_closed ( ) {
136
+ anyhow:: bail!( "The transfer connection is in progress already" ) ;
137
+ }
138
+ }
139
+
134
140
info ! ( self . logger, "Issuing pending requests for: {}" , xfer. id( ) ) ;
135
141
state. issue_pending_requests ( & conn, & self . logger ) ;
136
142
state. conn = Some ( conn) ;
You can’t perform that action at this time.
0 commit comments