URL:
  <http://gna.org/patch/?4469>

                 Summary: Reset curl handle between uses
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 02 Feb 2014 01:07:24 PM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.3, 2.5.0, 2.6.0

    _______________________________________________________

Details:

As we don't reset curl handle between uses, some options set by earlier call
may stay in effect when they are assumed to be in default state. I'm not aware
of any cases where we would be using curl with different options set between
calls, but that's pure luck rather than design.
Attached patch adds call to curl_easy_reset() when existing handle is being
reused.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 02 Feb 2014 01:07:24 PM EET  Name: ResetCurlHandle.patch  Size: 2kB 
 By: cazfi

<http://gna.org/patch/download.php?file_id=19941>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4469>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to