Skip to content

Commit 77a7563

Browse files
authored
Merge pull request #144 from guzba/ryan
0.4.8
2 parents 73d650e + 559081a commit 77a7563

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
fail-fast: false
77
matrix:
88
os: [ubuntu-latest, windows-latest]
9-
nim-version: ['1.6.8', '1.6.x', '2.0.x', 'stable']
9+
nim-version: ['stable']
1010
include:
1111
- nim-version: '2.0.x'
1212
atomic_arc: true

.github/workflows/docs.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: jiro4989/setup-nim-action@v1
16-
with:
17-
nim-version: ${{ env.nim-version }}
18-
- run: nimble install -Y
19-
- run: nimble doc --index:on --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }}/ src/mummy/routers.nim
20-
- run: nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }} ${{ env.nim-src }}
21-
- run: nim buildIndex -o:${{ env.deploy-dir }}/index.html ${{ env.deploy-dir }}
22-
- name: Deploy documents
23-
uses: peaceiris/actions-gh-pages@v3
24-
with:
25-
github_token: ${{ secrets.GITHUB_TOKEN }}
26-
publish_dir: ${{ env.deploy-dir }}
14+
- uses: actions/checkout@v4
15+
- uses: jiro4989/setup-nim-action@v2
16+
with:
17+
nim-version: ${{ matrix.nim-version }}
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
- run: nimble install -Y
20+
- run: nimble doc --index:on --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }}/ src/mummy/routers.nim
21+
- run: nimble doc --index:on --project --git.url:https://github.com/${{ github.repository }} --git.commit:master --out:${{ env.deploy-dir }} ${{ env.nim-src }}
22+
- run: nim buildIndex -o:${{ env.deploy-dir }}/index.html ${{ env.deploy-dir }}
23+
- name: Deploy documents
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ${{ env.deploy-dir }}

mummy.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.4.7"
1+
version = "0.4.8"
22
author = "Ryan Oldenburg"
33
description = "Multithreaded HTTP + WebSocket server"
44
license = "MIT"

src/mummy.nim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,8 +1201,6 @@ proc loopForever(server: Server) {.raises: [OSError, IOSelectorsException].} =
12011201
max(clientDataEntry.requestCounter - 1, 0)
12021202

12031203
if encodedResponse.isWebSocketUpgrade:
1204-
if server.tcpNoDelay:
1205-
server.setNoDelay(encodedResponse.clientSocket)
12061204
clientDataEntry.upgradedToWebSocket = true
12071205
let websocket = WebSocket(
12081206
server: server,

0 commit comments

Comments
 (0)