Skip to content

Commit

Permalink
Minimal change to make library compatible with new io lib. (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Mar 13, 2024
1 parent b91fadb commit a15ed24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/connection.toit
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,12 @@ class DetachedSocket_ implements tcp.Socket:
set_no_delay enabled/bool:
no_delay = enabled

in:
throw "UNIMPLEMENTED"

out:
throw "UNIMPLEMENTED"

is_close_exception_ exception -> bool:
return exception == reader.UNEXPECTED_END_OF_READER_EXCEPTION
or exception == "Broken pipe"
Expand Down

0 comments on commit a15ed24

Please sign in to comment.