Branch: Tag:

2017-02-03

2017-02-03 11:20:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Partial revert of 6563e11c15b075b0f1152b796eab373a58376792

The Buffer used in SSL.Connection does not support all features
of Stdio.Buffer...

877:    hb_msg = Buffer();    hb_msg->add_int(HEARTBEAT_MESSAGE_response, 1);    hb_msg->add_int(hb_len, 2); -  hb_msg->add(payload, random_string(pad_len)); +  hb_msg->add(payload); +  hb_msg->add(random_string(pad_len));    send_packet(heartbeat_packet(hb_msg));    break;    case HEARTBEAT_MESSAGE_response: