Skip to content

Commit

Permalink
Update after review.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed May 3, 2024
1 parent 2f5fd18 commit ebe653e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ public EndPoint getEndPoint()
*/
private static class HttpEofException extends EofException implements HttpException
{
public HttpEofException(String message)
private HttpEofException(String message)
{
super(message);
}
Expand All @@ -1661,7 +1661,7 @@ public int getCode()
@Override
public String getReason()
{
return "Early EOF";
return getMessage();
}
}
}

0 comments on commit ebe653e

Please sign in to comment.