File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/uid2/operator/vertx Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4040import io .vertx .core .Promise ;
4141import io .vertx .core .buffer .Buffer ;
4242import io .vertx .core .http .HttpHeaders ;
43+ import io .vertx .core .http .HttpServerOptions ;
4344import io .vertx .core .http .HttpServerResponse ;
4445import io .vertx .core .json .DecodeException ;
4546import io .vertx .core .json .JsonArray ;
@@ -201,7 +202,7 @@ public void start(Promise<Void> startPromise) throws Exception {
201202
202203 final Router router = createRoutesSetup ();
203204 final int port = Const .Port .ServicePortForOperator + Utils .getPortOffset ();
204- vertx .createHttpServer ()
205+ vertx .createHttpServer (new HttpServerOptions (). setMaxFormBufferedBytes (( int ) MAX_REQUEST_BODY_SIZE ) )
205206 .requestHandler (router )
206207 .listen (port , result -> {
207208 if (result .succeeded ()) {
You can’t perform that action at this time.
0 commit comments