"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zxingorg/src/main/java/com/google/zxing/web/ChartDoSFilter.java" between
zxing-zxing-3.4.0.tar.gz and zxing-zxing-3.4.1.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.

ChartDoSFilter.java  (zxing-zxing-3.4.0):ChartDoSFilter.java  (zxing-zxing-3.4.1)
skipping to change at line 26 skipping to change at line 26
package com.google.zxing.web; package com.google.zxing.web;
import javax.servlet.annotation.WebFilter; import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam; import javax.servlet.annotation.WebInitParam;
/** /**
* Protect the /chart endpoint from too many requests. * Protect the /chart endpoint from too many requests.
*/ */
@WebFilter(urlPatterns = {"/w/chart"}, initParams = { @WebFilter(urlPatterns = {"/w/chart"}, initParams = {
@WebInitParam(name = "maxAccessPerTime", value = "250"), @WebInitParam(name = "maxAccessPerTime", value = "120"),
@WebInitParam(name = "accessTimeSec", value = "500"), @WebInitParam(name = "accessTimeSec", value = "60"),
@WebInitParam(name = "maxEntries", value = "10000") @WebInitParam(name = "maxEntries", value = "10000"),
@WebInitParam(name = "maxLoad", value = "0.9")
}) })
public final class ChartDoSFilter extends DoSFilter { public final class ChartDoSFilter extends DoSFilter {
// no additional implementation // no additional implementation
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)