Skip to content

Commit

Permalink
Fix spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed May 22, 2024
1 parent 6c5a185 commit 9f8241f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source/serverino/interfaces.d
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,10 @@ struct Request
{

auto nextLine = chunk.countUntil("\n");

if(nextLine < 0){
throw new Exception("Invalid Boundaries delimitation.");
}


if(nextLine < 0)
throw new Exception("Invalid boundaries delimitation.");

auto line = chunk[0..nextLine];

// All lines must end with \r\n
Expand Down

0 comments on commit 9f8241f

Please sign in to comment.