Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-218

Fuseki should allow timeouts to be specified on a per-request basis

    XMLWordPrintableJSON

Details

    Description

      A query endpoint might want to have different timeouts depending on whether queries are from untrusted or trusted users, or maintenance processes. The timeout could be passed with an X- header, a Timeout header as per http://tools.ietf.org/html/draft-loreto-http-timeout-00, or a query parameter, respecting the system default if none is provided. The query parameter might be less favourable as it'd be harder to filter out for Fuseki instances behind Apache.

      There is a risk that changing the behaviour to allow timeouts to be overridden will lead to DoSs of query endpoints open to the world to some extent. This can be mitigated by defaulting to disallowing timeout overrides.

      I'm happy to put a patch together and document it at http://incubator.apache.org/jena/documentation/serving_data/.

      Attachments

        1. jena-218-default-timeout.diff
          9 kB
          Alexander Dutton
        2. jena-218-1.diff
          11 kB
          Alexander Dutton
        3. config-tdb.ttl
          3 kB
          Alexander Dutton

        Issue Links

          Activity

            People

              andy Andy Seaborne
              alexsdutton Alexander Dutton
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: