mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-12 02:40:56 +01:00
Make sure request-body is skipped if not read.
This commit is contained in:
parent
ada9637d72
commit
99605ba433
@ -1,6 +1,5 @@
|
||||
package org.dynmap.web;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
@ -163,6 +162,10 @@ public class HttpServerConnection extends Thread {
|
||||
return;
|
||||
}
|
||||
|
||||
if (bound > 0) {
|
||||
boundBody.skip(bound);
|
||||
}
|
||||
|
||||
HttpResponse response = new HttpResponse(this, out);
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user