Closed esabol closed 4 years ago
Please restart the following Travis CI jobs: https://travis-ci.org/gearman/gearmand/jobs/653265367 https://travis-ci.org/gearman/gearmand/jobs/653265370 I believe the test failures with these are spurious. Thanks!
LGTM
It would be good to replace
&_body[0]
by_body.data()
at least in bothif (HAVE_LIBCURL && _body.size())
blocks.
Why would that be better? I don't see it.
c++ type should be treated with well-defined type methods https://github.com/gearman/gearmand/blob/a6bd168ca73bd29d0bf13ad946034957f9c86546/libtest/vchar.hpp#L50
In my opinion mixing pure c and c++ style is inappropriate.
In my opinion mixing pure c and c++ style is inappropriate.
Well, that seems to be a separate issue then that should go in a separate PR.
Would it be OK if I merged this?
I've no objections
GMTA @p-alik :)
This PR fixes the problems in
libtest/http.cc
when you compile with CXXFLAGS=-'-Wp,-D_GLIBCXX_ASSERTIONS' on Fedora 31. Refer to issue #278 (and issue #275).