Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
Fix missing HttpCookieDB.removeCookie()
Browse files Browse the repository at this point in the history
  • Loading branch information
seven332 committed Jan 7, 2016
1 parent 9abe3f8 commit f8c969a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ public synchronized void remove(URL url, String name) {
if (hcwi.hasExpired() || (ObjectUtils.equal(name, hcwi.httpCookie.getName()) &&
pathMatches(cookie, url) && portMatches(cookie, url))) {
i.remove(); // remove expired cookies
HttpCookieDB.removeCookie(hcwi.id); // remove from DB
}
}
}
Expand Down

0 comments on commit f8c969a

Please sign in to comment.