summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d176679)
Instead of writing, we were reading from the socket. Fix it.
int r;
if (ssl->handshaking == TRUE)
{
int r;
if (ssl->handshaking == TRUE)
{
- r = hc_conn_read (hook->conn, buffer, len);
- return r;
+ hc_conn_write (hook->conn, (void *) buffer, len);
+ return len;
}
hc_conn_write (hook->conn, (void *) buffer, len);
return len;
}
hc_conn_write (hook->conn, (void *) buffer, len);
return len;