We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproduce by creating a file that is bigger than 4096 bytes and requesting it with 2 concurrent connections.
#!/bin/sh DIR=`mktemp -d`/serve dub init "$DIR" vibe.d pushd "$DIR" sed -i 's|"vibe.*>=0.*"|"vibe-d": "~master"|' package.json cat > source/app.d << CODE import vibe.d; shared static this() { auto settings = new HTTPServerSettings; settings.port = 8080; listenHTTP(settings, serveStaticFiles(".")); } CODE dub build # create a file that is bigger than 4096 bytes dd if=/dev/zero of=foobar count=1 bs=4097 ./serve & PID=$! # wait for serve sleep 1 # second ab request times out after 5 seconds ab -s 5 -n 2 -c 2 http://localhost:8080/foobar kill $PID popd rm -r "$DIR"
The text was updated successfully, but these errors were encountered:
Bisecting points to this commit c5a9025.
Sorry, something went wrong.
Use a singly linked list for yield()ed tasks to avoid memory allocati…
c5a9025
…ons.
1761085
Merge pull request #402 from dawgfoto/fix401
bc6f6c5
fix #401 - [regression] vibe looses static file requests
No branches or pull requests
Reproduce by creating a file that is bigger than 4096 bytes and requesting it with 2 concurrent connections.
The text was updated successfully, but these errors were encountered: