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

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


    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Fuseki 0.2.1
    • Fix Version/s: None
    • Component/s: Fuseki


      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/.


        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



              • Assignee:
                andy.seaborne Andy Seaborne
                alexsdutton Alexander Dutton
              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created: