mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Add smtp client example
This commit is contained in:
1 parent
f94a019733
commit
48800504be
9 files changed
+114
-2
No files matched your search
@@ -116,6 +116,7 @@ void mg_tls_handshake(struct mg_connection *c) {
|
||||
if (rc == 1) {
|
||||
MG_DEBUG(("%lu success", c->id));
|
||||
c->is_tls_hs = 0;
|
||||
mg_call(c, MG_EV_TLS_HS, NULL);
|
||||
} else {
|
||||
int code = mg_tls_err(tls, rc);
|
||||
if (code != 0) mg_error(c, "tls hs: rc %d, err %d", rc, code);
|
||||
|
||||
Reference in new issue
Block a user