File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,8 @@ List of user-visible changes that have gone into each release
379379* Work log
380380Log of merges/issues/work that's gone in so I know what to put in
381381the changelog for the next release
382+ ** 2014-03-05
383+ - fix issue where :ignore-unknown-host wasn't using the =opt= function correctly
382384** Released 0.9.0
383385** 2014-02-25
384386- Bumped httpcore to 4.3.2
Original file line number Diff line number Diff line change 633633 " Middleware ignoring unknown hosts when the :ignore-unknown-host? option
634634 is set."
635635 [client]
636- (fn [{ :keys [ignore-unknown-host?] :as req} ]
636+ (fn [req]
637637 (try
638638 (client req)
639639 (catch Exception e
640640 (if (= (type (root-cause e)) UnknownHostException)
641- (when-not ignore-unknown-host?
641+ (when-not ( opt req : ignore-unknown-host)
642642 (throw (root-cause e)))
643643 (throw (root-cause e)))))))
644644
You can’t perform that action at this time.
0 commit comments