URL:
<http://gna.org/patch/?3165>
Summary: Set User-Agent string when fetching pages over http
Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 27 Feb 2012 09:07:36 PM EET
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0, 2.5.0
_______________________________________________________
Details:
While looking webserver logs I noticed that modpacks fetched with freeciv 2.3
had User-Agent set, but new libcurl implementation of 2.4 & TRUNK has not.
Attached patch adds User-Agent for 2.4 & TRUNK too.
While 2.3 had "freeciv-modpack/<version>" when freeciv-modpack fetched files,
and "freeciv-client/<version>" when client contacted metaserver, (and maybe
some third string used when server contacted metaserver), this implementation
always uses string "freeciv/<version>"
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 27 Feb 2012 09:07:37 PM EET Name: UserAgent.diff Size: 706B By:
cazfi
<http://gna.org/patch/download.php?file_id=15231>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3165>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev