Skip to content
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

Sending stop method to marketmaker should return a response #559

Open
sindresorhus opened this issue Jan 22, 2018 · 1 comment
Open

Sending stop method to marketmaker should return a response #559

sindresorhus opened this issue Jan 22, 2018 · 1 comment

Comments

@sindresorhus
Copy link

From curl:

❯ curl --url "http://127.0.0.1:51129" --data "{\"userpass\":\"xx\",\"method\":\"stop\"}"
curl: (52) Empty reply from server

Seems like marketmaker stops before it has time to reply.

Not sending a response is a bit annoying as the response throws in Chrome and exits with code 1 with curl.

From Chrome:

api.js:12 POST http://localhost:54928/ net::ERR_EMPTY_RESPONSE
@jl777
Copy link
Owner

jl777 commented Jan 23, 2018

good point! it started out as just a debug thing, but I will make it behave nicer

ok,pushed fix to dev branch. thanks for bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants