Should send a default HTTP code when there is an error in HttpHandler

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • generic
    • generic

      * If HttpHandler throws a runtime exception, server doesn't send a 500 Internal error response. It is true that it is the problem with the application, but HttpServer implementation can do something about it. Otherwise, the client programs just hang waiting for a response.

      * If the executors are not set, and the HttpHandler throws a runtime exception, then the server jvm terminates. Comment out the line no: 24 and try it.

      Attaching a program which produces both these problems.

            Assignee:
            Michael McMahon
            Reporter:
            Jitendra Kotamraju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: