Skip to content

Fix "websocket" example's readme, and make binary names unique#45

Merged
DoumanAsh merged 3 commits intoactix:masterfrom
sapir:master
Sep 24, 2018
Merged

Fix "websocket" example's readme, and make binary names unique#45
DoumanAsh merged 3 commits intoactix:masterfrom
sapir:master

Conversation

@sapir
Copy link
Contributor

@sapir sapir commented Sep 17, 2018

No description provided.

Copy link
Contributor

@DoumanAsh DoumanAsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, thank you, having unique name in each example is certainly better


[[bin]]
name = "server"
name = "rustls-server"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you update cargo run in README?

Copy link
Contributor Author

@sapir sapir Sep 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's ok because there's only one binary in this directory

I get some "No such file or directory" panics when running it from the root directory. I assume that it can't find its TLS key files.

I also get some "No such file" panics (but not the same ones) when running in its own directory, I think it wants a "static" directory to exist.


[[bin]]
name = "server"
name = "tls-server"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you update cargo run in README?

@DoumanAsh DoumanAsh merged commit d9afae2 into actix:master Sep 24, 2018
@DoumanAsh
Copy link
Contributor

Thank you

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

Successfully merging this pull request may close these issues.

2 participants