Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6182

Make jetty stop timeout configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • http.jetty-4.0.14
    • http.jetty-4.0.16
    • HTTP Service
    • None
    • Patch

    Description

      It would be nice to have the option to set the stop timeout (https://www.eclipse.org/jetty/javadoc/9.4.20.v20190813/org/eclipse/jetty/server/Server.html#setStopTimeout(long))

      In our usecase we don't want a "graceful" (in a sense of waiting for the pending requests to finish) shutdown, we want the server to stop immediately when the application is stopped. Currently there is no possibility to configure such behavior with http.jetty and osgi properties.

      I have made a pull request for this change:

      https://github.com/apache/felix/pull/203

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            swimmesberger Simon Wimmesberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: