Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: chetan/sewer
base: 73671b40d8
...
head fork: chetan/sewer
compare: 093f6241b0
  • 4 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
2  buildfile
@@ -1,6 +1,6 @@
# Version number for this release
-VERSION_NUMBER = "0.4.5"
+VERSION_NUMBER = "0.4.6"
# Group identifier for your projects
GROUP = "net.pixelcop.sewer"
VENDOR = "Pixelcop Research, Inc."
View
2  buildfile_libraries.rb
@@ -40,7 +40,7 @@
ANT = [ "org.apache.ant:ant:jar:1.8.0" ]
-JETTY_VERSION = "8.1.2.v20120308"
+JETTY_VERSION = "8.1.4.v20120524"
JETTY = [
"org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016",
"org.eclipse.jetty:jetty-continuation:jar:#{JETTY_VERSION}",
View
7 src/main/java/net/pixelcop/sewer/source/http/DefaultAccessLogExtractor.java
@@ -10,14 +10,9 @@
@Override
public Event extract(Request req) {
- String ip = req.getHeader(HttpHeaders.X_FORWARDED_FOR);
- if (ip == null) {
- ip = req.getRemoteAddr();
- }
-
return new AccessLogEvent(
System.nanoTime(),
- ip,
+ req.getRemoteAddr(),
req.getServerName(),
req.getRequestURI(),
req.getQueryString(),
View
2  src/test/java/net/pixelcop/sewer/source/TestHttpPixelSource.java
@@ -92,7 +92,7 @@ public void testKeepaliveDisabled() throws IOException {
conf.set("sewer.source.pixel.keepalive", "false");
int port = findOpenPort();
- TestableNode node = createNode("pixel(" + port + ")", "counting");
+ TestableNode node = createNode("pixel(" + port + ")", "counting", null, conf);
assertNotNull(node);
node.start();
try {

No commit comments for this range

Something went wrong with that request. Please try again.