Issue 278: Fix crashing in libtest/http.cc when '-Wp,-D_GLIBCXX_ASSERTIONS' is given#281
Conversation
|
Please restart the following Travis CI jobs: |
|
LGTM |
p-alik
left a comment
There was a problem hiding this comment.
It would be good to replace &_body[0] by _body.data() at least in both if (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 Line 50 in a6bd168 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.ccwhen you compile with CXXFLAGS=-'-Wp,-D_GLIBCXX_ASSERTIONS' on Fedora 31. Refer to issue #278 (and issue #275).