Add config setting which preserves host header#30
Add config setting which preserves host header#30stirnim wants to merge 4 commits intojech:masterfrom
Conversation
|
No, that's wrong. If you change the setting, previously cached objects will not obey the new value. Also, please don't use spaces within brackets, and document any setting you introduce, making sure your variable is included in the variable index. |
Fix space between brackets
|
Thank you for your feedback. Regarding caching, one solution would be to clear the cache whenever the setting is changed. The code should do something like you described in "Purging the on-disk cache" (http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/polipo.html#Purging). Another would be do document that this setting should only be used when caching is disabled. Have you had any other option in mind? |
Both of these are hacks. Sorry.
A simple solution would be to add a "host" field to struct object. Add I'm sure a cleaner solution is possible, but I don't see it off the top of Please be aware that even if you do it right, I still don't commit to -- Juliusz |
Should implement feature request #29