Making the same changes made to nbq_write_request_line in #33 to nbq_write_header and nbq_write_body.
Also changed ao_q.write(": ", 2) and ao_q.write("\r\n", 2) to make use of strlen() to find the length.
...
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Making the same changes made to
nbq_write_request_line
in #33 tonbq_write_header
andnbq_write_body
.Also changed
ao_q.write(": ", 2)
andao_q.write("\r\n", 2)
to make use ofstrlen()
to find the length.... I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.