Skip to content

Commit

Permalink
[UNDERTOW-1709][JBEAP-19266] NullPointerException when calling the AJ…
Browse files Browse the repository at this point in the history
…P port with invalid request
  • Loading branch information
spyrkob authored and fl4via committed May 15, 2020
1 parent b53d458 commit 30b029f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/io/undertow/UndertowLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ void nodeConfigCreated(URI connectionURI, String balancer, String domain, String
@Message(id = 5084, value = "Attempted to write %s bytes however content-length has been set to %s")
IOException dataLargerThanContentLength(long totalToWrite, long responseContentLength);

@LogMessage(level = ERROR)
@LogMessage(level = DEBUG)
@Message(id = 5085, value = "Connection %s for exchange %s was not closed cleanly, forcibly closing connection")
void responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public final class HttpServerExchange extends AbstractAttachable {
// mutable state

private int state = 200;
private HttpString requestMethod;
private HttpString requestMethod = HttpString.EMPTY;
private String requestScheme;

/**
Expand Down

0 comments on commit 30b029f

Please sign in to comment.