Software /
code /
prosody
Comparison
net/server.lua @ 1534:f2dd7ac89470
Merge with 0.5
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 12 Jul 2009 14:34:02 +0100 |
parent | 1533:8c13be7aa9f0 |
child | 1535:0afc8ae01515 |
comparison
equal
deleted
inserted
replaced
1532:9150aeca9755 | 1534:f2dd7ac89470 |
---|---|
528 --coroutine_yield( handler, nil, err ) -- handshake not finished | 528 --coroutine_yield( handler, nil, err ) -- handshake not finished |
529 coroutine_yield( ) | 529 coroutine_yield( ) |
530 end | 530 end |
531 end | 531 end |
532 disconnect( handler, "ssl handshake failed" ) | 532 disconnect( handler, "ssl handshake failed" ) |
533 handler.close( true ) -- forced disconnect | 533 _ = handler and handler.close( true ) -- forced disconnect |
534 return false -- handshake failed | 534 return false -- handshake failed |
535 end | 535 end |
536 ) | 536 ) |
537 if startssl then -- ssl now? | 537 if startssl then -- ssl now? |
538 --out_put("server.lua: ", "starting ssl handshake") | 538 --out_put("server.lua: ", "starting ssl handshake") |