Skip to content

feedback on access log showing two connections #50

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

Open
patch-work opened this issue Jun 27, 2023 · 0 comments
Open

feedback on access log showing two connections #50

patch-work opened this issue Jun 27, 2023 · 0 comments
Labels

Comments

@patch-work
Copy link

patch-work commented Jun 27, 2023

> git clone https://github.com/allinurl/gwsocket.git
> cd gwsocket
> autoreconf -fiv
> ./configure
> make
> doas dmesg -w | ./gwsocket --port 4000 --access-log=/dev/stdout
127.0.0.1 - - [27/Jun/2023:23:33:05 +0200] "GET / HTTP/1.1" 400 651 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" 0
127.0.0.1 - - [27/Jun/2023:23:33:05 +0200] "GET / HTTP/1.1" 200 651 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" 0
127.0.0.1 - - [27/Jun/2023:23:33:13 +0200] "GET / HTTP/1.1" 400 651 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" 0
127.0.0.1 - - [27/Jun/2023:23:33:13 +0200] "GET / HTTP/1.1" 200 651 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" 0

For each browser connection, the server logs two connections, where the first one is a rejection (400).

This is Fedora Linux 38.

@allinurl allinurl changed the title feedback feedback on access log showing two connections Jan 9, 2025
@allinurl allinurl removed the bug label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants