Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidAsync
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 333
    • Issues 333
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Koushik Dutta
  • AndroidAsync
  • Issues
  • #691
Closed
Open
Issue created Dec 24, 2020 by flyinmind@flyinmind

Reponse header disordered after request sometimes

Following codes, run many times, the response header disordered.

        public void onRequest(AsyncHttpServerRequest req, final AsyncHttpServerResponse resp) {

... pool.execute(new Runnable() { @Override public void run() { .... resp.send(fm.contentType(), fm.read()); resp.end(); } }); }

Expected is: // { "framework": "Vue"}

// (function(modules) { // webpackBootstrap // // The module cache /******/ var installedModules = {};

Exactly response is:(Header is in body, and lost some content of the file)

HTTP/1.1 200 OK Connection: Keep-Alive Content-Length: 24589 Content-Type: application/javascript; charset=utf-8

bb94-450a7ea35ac1 Host: 127.0.0.1:8080 Accept-Encoding: gzip, deflate, br Connection: keep-alive

__(moduleId) { // // // Check if module is in cache /******/ if(installedModules[moduleId]) {

Assignee
Assign to
Time tracking