Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-906

httpContext in ApacheHttpClient4Executor might not be thread safe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • 3.0.1.Final
    • None
    • None

    Description

      ApacheHttpClient4Engine keeps the httpContext as member variable. This makes sense in some cases but wondering if this would be thread safe on other cases where data in the context gets thrown on a per request.

      In the case where the client is pooled the same client engine is serving mutiple requests concurrently. There might be cases where the httpcontext sets data per request (per thread)

      Not sure if this would really happen but just wanted to throw the defect out there.

      Attachments

        Issue Links

          Activity

            People

              rsearls r searls
              el_eduardo_jira Eduardo Solis (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: