-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
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
Lua scripts are downloaded when QUIC is enabled #102
Comments
Thanks for reporting! I'll reproduce the issue and look into it. |
I'm currently unable to reproduce the issue. Here are the steps I tried: git clone https://github.com/xyproto/algernon
cd algernon
go build -mod=vendor
sudo setcap cap_net_bind_service=+ep ./algernon
./algernon --cache=images -s samples :443 Then in another window ("Hello, Lua!" is the reply I got back from the server):
And then with
The same thing happens if I add a What are the steps to reproduce the issue? |
Added a line : content([=[text/html; charset=utf-8]=]); fixed it. |
Declaring the content type at the top of a Lua script with a call to
Please include the steps to reproduce the issue. |
Finally, I know why . Maybe the init of Algernon is too complex without a lua script? |
You already proposed init.lua and that has its own merits but not as an imagined decomplication of the command-line flags. Seems like there's just a bug that needs to be fixed. |
When running both of these commands, everything works fine here:
Nothing I could find in the source code hints that the order of the
Please provide steps that I can follow to reproduce the issue here. I don't have |
DEBUG SITE |
Added content([=[text/html; charset=utf-8]=]); to /samples/permissions/index.lua at line 0 |
Maybe added a checking for any http-response head missing content key |
Update: |
Safari donnot connect to my site with QUIC. |
I have try to remove |
I will try reproducing the issue in Chrome as well. |
You're right. |
algernon --cache=images --redis=localhost:6379 -s /root/owrt_www :443
is OK.
algernon -u --cache=images --redis=localhost:6379 -s /root/owrt_www :443
will make *.lua can be downloaded.
@ current master code
The text was updated successfully, but these errors were encountered: