unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Two url.el issues
@ 2012-02-06 20:20 Lars Ingebrigtsen
  0 siblings, 0 replies; only message in thread
From: Lars Ingebrigtsen @ 2012-02-06 20:20 UTC (permalink / raw)
  To: emacs-devel

There are two url.el issues that I think should be resolved before Emacs
24 is released.

1) `url-retrieve' and friends cache everything they download, but
nothing is expired, so ~/.emacs.d/url/cache grows huge.  I think the
least intrusive way to fix this would be to have (say) every
(zerop (mod (incf url-counter-thing) 1000)) times the functions are
called do an expiry run.  Does this sound reasonable?

2) url stores and serves cookies by default, and that's a privacy
intrusion, especially when used by shr.el, which is a news-ish mail-ish
context.  But url.el has no easy way to disable cookies on a per-call
basis.  At this point there are three options: 1) Leave it as is.  2)
Disable cookies globally.  3) I can hack up some pretty invasive stuff
to allow per-connection cookie settings.  Opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-06 20:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 20:20 Two url.el issues Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).