Hold an owning ref to the HTTTP request.
This commit is contained in:
parent
c5cbc57895
commit
1b3ea65b5e
1 changed files with 1 additions and 0 deletions
|
@ -576,6 +576,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
try {
|
||||
MetarRequest* mr = new MetarRequest(argv[i]);
|
||||
HTTP::Request_ptr own(mr);
|
||||
http.makeRequest(mr);
|
||||
|
||||
// spin until the request completes, fails or times out
|
||||
|
|
Loading…
Reference in a new issue