Skip to content

Commit

Permalink
Revert "Remove set_no_delay [...]. (#130)" (#132)
Browse files Browse the repository at this point in the history
This reverts commit 4b9c2e4.
  • Loading branch information
floitsch authored Mar 28, 2024
1 parent 4b9c2e4 commit c2ebd0f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
# The versions should contain (at least) the lowest requirement
# and a version that is more up to date.
toit-version: [ v2.0.0-alpha.143, latest ]
toit-version: [ v2.0.0-alpha.79, latest ]
include:
- toit-version: v2.0.0-alpha.143
- toit-version: v2.0.0-alpha.79
version-name: old
- toit-version: latest
version-name: new
Expand Down
3 changes: 2 additions & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
name: http
description: An HTTP server and client.
environment:
sdk: ^2.0.0-alpha.143
# alpha 79 added session resume in TLS.
sdk: ^2.0.0-alpha.79
4 changes: 4 additions & 0 deletions src/connection.toit
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ class DetachedSocket_ implements tcp.Socket:
close -> none:
socket_.close

// TODO(kasper): Remove this. Here for backwards compatibility.
set_no_delay enabled/bool:
no_delay = enabled

in:
throw "UNIMPLEMENTED"

Expand Down

0 comments on commit c2ebd0f

Please sign in to comment.