Changeset 6644
- Timestamp:
- 06/18/09 15:13:28 (15 months ago)
- Location:
- branches/bugfix-0.9.1
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
src/sources/harbor_input.ml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/bugfix-0.9.1/CHANGES
r6643 r6644 7 7 - Fixed append operator. (#284) 8 8 - fixed OSS compilation for non-linux systems. 9 - Disconnect idle harbor sources after timeout has expired. 10 Thanks to Roman Savrulin for reporting and fixing ! 9 11 10 12 0.9.0 (01-03-2009) -
branches/bugfix-0.9.1/src/sources/harbor_input.ml
r6390 r6644 103 103 if l=[] then begin 104 104 self#log#f 4 "No network activity for %d second(s)." n ; 105 wait (n+1) 105 if float n >= Harbor.conf_timeout#get then 106 begin 107 self#log#f 4 "network activity timeout! disconnecting source" ; 108 self#disconnect 109 end 110 else 111 wait (n+1) 106 112 end 107 113 in wait 1 … … 133 139 self#disconnect ; 134 140 try 135 Unix.shutdown socket Unix.SHUTDOWN_ALL ;136 141 Unix.close socket 137 142 with
