Outgoing connections now work in mingw driver.

This commit is contained in:
2021-10-08 16:38:10 -04:00
parent e7f55a2411
commit 760bd22874
6 changed files with 98 additions and 24 deletions

View File

@@ -341,6 +341,11 @@ std::string StreamBuffer::read_string_limit(int64_t max_allowed) {
return std::string(bytes, len);
}
std::string StreamBuffer::read_entire_contents() {
std::string result(read_cursor_, fill());
clear();
return result;
}
void StreamBuffer::overwrite_int8(int64_t write_count_after, int64_t vv) {
assert(safe_to_cast_to_int8(vv));