Comments (8)
Thanks!
Interesting issue... I'll need to find windows VM to try that somehow. Are you able to install go and compile latest websocketd ?
from websocketd.
Can you take a look at REQUEST_URI, does it include "?asfds=foo&bar=loo" or no?
from websocketd.
I used the provided downloadable binary from here.
Using REQUEST_URI:
CONNECT
MESSAGE: /
MESSAGE: localhost
MESSAGE: websocketd-CGI/0.1
DISCONNECT
Contents of the .cmd file:
@echo off
setlocal EnableDelayedExpansion
@echo %REQUEST_URI%
@echo %SERVER_NAME%
@echo %GATEWAY_INTERFACE%
from websocketd.
I checked that with windows 32 bit and binary from website and things work fine with it....
I can see correct REQUEST_URI and QUERY_STRING... Will still look for 64 bit windows vm....
from websocketd.
Well.. Same thing on 64 bit for me, I cannot confirm it...
from websocketd.
Interesting, I'm running native windows 7 but that shouldn't matter.
I'm going to take a further look, in the meantime:
C:\temp\websocketd>websocketd --version
websocketd 0.2.8
C:\temp\websocketd>ver
Microsoft Windows [Version 6.1.7601]
from websocketd.
Hah, peg this as a user error.
The query string has to be sent via the ws socket for the server to get the data. My example was based off on the query string passed over http to a certain script...
Perhaps a small note like "Ensure your querystring is being passed over the websocket if you intend for its values to be readable through this environment variable" would prevent other after-programming tinkering-at-home hackers to do the same mistake as I did.
My apologies.
from websocketd.
No worries, glad it was easy to resolve :)
from websocketd.
Related Issues (20)
- Gputil Failed to initialize NVML: Unknown Error HOT 1
- websocketd with django views HOT 1
- mosquitto_sub as command throwing error "Received message of type that we did not expect..." HOT 1
- How can I use c/c++ as a websocket client rather than server? HOT 2
- Seg fault 11 on M1 Max
- system(); in g++(C++) seems invalid
- Pipe multiple CLI apps to generate a website
- any way to handle the DISCONNECT message ?
- New option for binary websockets
- The wiki has been edited to have a links to ransomware. HOT 2
- Fix wiki
- MIPS compilation?!?
- bash script running on websocketd can't connect to dbus HOT 3
- Ten minute tutorial - confusing HOT 7
- Have you meet websocketd broken automatically ? HOT 1
- how to get a response like 'Clean: true, ..' after script executed HOT 6
- Vulnerability of dependency "github.com/gorilla/websocket"
- nodejs handle process.stdin incorrect HOT 1
- Issues with newlines
- How to change framesize?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocketd.