tls: make ctx_write function return the length of enqueue
Type: fix Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Change-Id: Ia8656fe2c48799e53c1b2c064009848ad3457659
This commit is contained in:

committed by
Florin Coras

parent
35acaac184
commit
c39150df4d
@@ -514,7 +514,7 @@ picotls_ctx_write (tls_ctx_t * ctx, session_t * app_session,
|
||||
if (ctx->app_closed)
|
||||
picotls_app_close (ctx);
|
||||
|
||||
return 0;
|
||||
return to_tls_len;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user