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

Segfault in examples/https_server #846

Closed
nordlow opened this issue Sep 29, 2014 · 1 comment
Closed

Segfault in examples/https_server #846

nordlow opened this issue Sep 29, 2014 · 1 comment

Comments

@nordlow
Copy link
Contributor

nordlow commented Sep 29, 2014

When I build and run (with DUB git b8d9672 tag 0.9.22) the examples/https_server/

under vibe.d master it prints

Target vibe-d ~master is up to date. Use --force to rebuild.
Building https-server-example ~master configuration 
"application", build type debug.
Compiling using dmd...
Linking...
Running ./https-server-example
Listening for HTTPS requests on ::1:8080
Listening for HTTPS requests on 127.0.0.1:8080

but when I open the URL 127.0.0.1:8080 in Chrome the server program crashes as

Handling of connection failed: Failed to accept SSL tunnel: 
������������������������������������������������������������������������������������������������������������������������� 
(336027804)
Handling of connection failed: Failed to accept SSL tunnel: 
�������������������������������������������������������������������������������������������������������������������������fPu:� 
(336027804)
Handling of connection failed: Failed to accept SSL tunnel: 
�������������������������������������������������������������������������������������������������������������������������fPu:� 
(336027804)
Error executing command run: Program exited with code -11

I'm using DMD 2.066 on Ubuntu 14.04.

See also: http://forum.dlang.org/thread/leeuzswjerdolqvwyhxr@forum.dlang.org#post-ecljocnzmxzagukxviuh:40forum.dlang.org

s-ludwig added a commit that referenced this issue Oct 2, 2014
Refcounted SSL stream goes out of scope - fixes #846
@nordlow
Copy link
Contributor Author

nordlow commented Oct 2, 2014

Thanks.

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

1 participant