Coder Social home page Coder Social logo

Comments (8)

asergeyev avatar asergeyev commented on May 18, 2024

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.

asergeyev avatar asergeyev commented on May 18, 2024

Can you take a look at REQUEST_URI, does it include "?asfds=foo&bar=loo" or no?

from websocketd.

kjwise avatar kjwise commented on May 18, 2024

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.

asergeyev avatar asergeyev commented on May 18, 2024

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.

asergeyev avatar asergeyev commented on May 18, 2024

Well.. Same thing on 64 bit for me, I cannot confirm it...
15 05 2014 194351

from websocketd.

kjwise avatar kjwise commented on May 18, 2024

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.

kjwise avatar kjwise commented on May 18, 2024

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.

asergeyev avatar asergeyev commented on May 18, 2024

No worries, glad it was easy to resolve :)

from websocketd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.