We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5c2997 commit 883ff04Copy full SHA for 883ff04
src/tcp/segment.ml
@@ -307,7 +307,10 @@ module Tx (Time:Mirage_time.S) (Clock:Mirage_clock.MCLOCK) = struct
307
fmt "TCP retransmission triggered by timer! seq = %d"
308
(Sequence.to_int rexmit_seg.seq));
309
Lwt.async
310
- (fun () -> xmit ~flags ~wnd ~options ~seq rexmit_seg.data);
+ (fun () ->
311
+ xmit ~flags ~wnd ~options ~seq rexmit_seg.data
312
+ (* TODO should this return value really be ignored? *)
313
+ >|= fun (_: ('a,'b) result) -> () );
314
Window.alert_fast_rexmit wnd rexmit_seg.seq;
315
Window.backoff_rto wnd;
316
Log.debug (fun fmt -> fmt "Backed off! %a" Window.pp wnd);
0 commit comments