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

Comments

Projects
None yet
1 participant
@nordlow

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 s-ludwig closed this in 25855fd Oct 2, 2014

s-ludwig added a commit that referenced this issue Oct 2, 2014

Merge pull request #849 from etcimon/fix-https
Refcounted SSL stream goes out of scope - fixes #846
@nordlow

This comment has been minimized.

Show comment
Hide comment
@nordlow

nordlow commented Oct 2, 2014

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment