Rename some things for consistency.
We usually use read/write rather than recv/send to describe the two
sides.
Change-Id: Ie3ac8c52c59ea9a5143f56b894f58cecd351dc7d
Reviewed-on: https://boringssl-review.googlesource.com/21304
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Steven Valdez <svaldez@google.com>
diff --git a/ssl/internal.h b/ssl/internal.h
index 36d3390..93864ac 100644
--- a/ssl/internal.h
+++ b/ssl/internal.h
@@ -1754,12 +1754,11 @@
int wpend_ret; // number of bytes submitted
const uint8_t *wpend_buf;
- // recv_shutdown is the shutdown state for the receive half of the
- // connection.
- enum ssl_shutdown_t recv_shutdown;
+ // read_shutdown is the shutdown state for the read half of the connection.
+ enum ssl_shutdown_t read_shutdown;
- // recv_shutdown is the shutdown state for the send half of the connection.
- enum ssl_shutdown_t send_shutdown;
+ // write_shutdown is the shutdown state for the write half of the connection.
+ enum ssl_shutdown_t write_shutdown;
int alert_dispatch;