1. 03 May, 2016 3 commits
  2. 30 Apr, 2016 1 commit
  3. 19 Feb, 2016 1 commit
  4. 18 Feb, 2016 1 commit
  5. 12 Feb, 2016 2 commits
    • Narayan Kamath's avatar
      apache-http: Fix stubs generation. · d0618f2c
      Narayan Kamath authored
      am: 0399abc7
      
      * commit '0399abc7':
        apache-http: Fix stubs generation.
      d0618f2c
    • Narayan Kamath's avatar
      apache-http: Fix stubs generation. · 0399abc7
      Narayan Kamath authored
      - We're asking doclava to generate stubs for all apache http packages.
        We must therefore point it to all apache-http sources (including the
        handful that live in frameworks/base).
      - Stop asking for stubs for android.net.*. These classes are still
        public frameworks API and their stubs will be present in android.jar.
      
      (cherry picked from commit 43ffae2b513e42623b213fbf08eea9255cb8ac7e)
      
      Change-Id: I626459d4547ae14555435da8de73645e47a3461e
      0399abc7
  6. 09 Feb, 2016 2 commits
    • Narayan Kamath's avatar
      ba5d8abc
    • Narayan Kamath's avatar
      apache-http: Fix stubs generation. · 9bd2f98d
      Narayan Kamath authored
      - We're asking doclava to generate stubs for all apache http packages.
        We must therefore point it to all apache-http sources (including the
        handful that live in frameworks/base).
      - Stop asking for stubs for android.net.*. These classes are still
        public frameworks API and their stubs will be present in android.jar.
      
      (cherry picked from commit 43ffae2b513e42623b213fbf08eea9255cb8ac7e)
      
      Change-Id: I6525df298a8d35bdab2b765fd2ed088e19633146
      9bd2f98d
  7. 02 Feb, 2016 2 commits
  8. 26 Jan, 2016 2 commits
  9. 23 Jan, 2016 1 commit
  10. 19 Jan, 2016 1 commit
  11. 13 May, 2015 3 commits
    • Kenny Root's avatar
      am 72b40431: (-s ours) Merge "Start handshake before calling hostname verifier" · 0a468f38
      Kenny Root authored
      * commit '72b40431':
        Start handshake before calling hostname verifier
      0a468f38
    • Kenny Root's avatar
      72b40431
    • Kenny Root's avatar
      Start handshake before calling hostname verifier · 317c0a49
      Kenny Root authored
      If the hostname verifier calls SSLSocket#getSession() before the
      handshake has been started, it will implicitly start the handshake.
      However, it will swallow any errors and return the canonical invalid
      SSLSession instead. This makes it extremely difficult to debug issues.
      
      Instead start the handshake before calling into the verifier since we
      are guaranteed to be the first caller of #startHandshake() and won't
      cause a renegotiation. That will allow us to see the actual
      SSLHandshakeException if it occurs.
      
      Bug: 14975169
      Bug: 17332309
      Bug: 17524215
      Bug: 17812533
      Bug: 18507278
      Bug: 19069992
      Bug: 19378885
      Bug: 19414083
      Bug: 19550311
      Bug: 19731556
      Bug: 19853723
      Bug: 20908941
      Change-Id: Ie74ec12c8b131c7bf400a07fc91c78da4d5e470f
      317c0a49
  12. 15 Apr, 2015 1 commit
    • Ying Wang's avatar
      Use prebuilt stub org.apache.http.legacy for unbundled build. · 80540ef1
      Ying Wang authored
      Even though the stub org.apache.http.legacy.jar itself can be
      built from source against the SDK, its dependency conscrypt must
      be built against libcore-art.
      (Actually we could remove the droiddoc module apache-http-stubs-gen's
      dependency on conscrypt. It would lead doclava to complain error of
      unresolved symbols of conscrypt. Such error isn't fatal because the
      stub java files don't reference any conscrypt symbols.)
      
      Also by using prebuilt org.apache.http.legacy, unbundled branches don't
      need to pull in external/doclava and its many dependency projects.
      
      Bug: 20221594
      Change-Id: I6fb4377d35a70ad544cb8a91695e23625365df60
      80540ef1
  13. 09 Apr, 2015 2 commits
    • Narayan Kamath's avatar
      Make org.apache.http.legacy a stubs target. · 3049bb7f
      Narayan Kamath authored
      Also, rename the non-stubs org.apache.http.legacy jar ->
      org.apache.http.legacy.boot and include it in the boot classpath.
      
      Change-Id: Ibcfa5429f6565e86ab03bbc793e20f1860e3821a
      3049bb7f
    • Narayan Kamath's avatar
      Build stubs for apache-http · abddcd89
      Narayan Kamath authored
      Also, distribute those stubs with the SDK instead of the actual
      code. In a follow up change, we will use those stubs for building
      platform dependencies as well.
      
      Change-Id: If60624d095a69f69876f9cc32a8078c01e090a64
      abddcd89
  14. 30 Mar, 2015 2 commits
  15. 27 Mar, 2015 1 commit
    • Alex Klyubin's avatar
      Honor NetworkSecurityPolicy regarding cleartext traffic. · 23c78a7d
      Alex Klyubin authored
      This makes HttpClient instances honor the process-wide policy about
      cleartext network traffic. If cleartext network traffic is not
      permitted, then attempts to send a cleartext HTTP request will throw
      an IOException.
      
      This change is needed despite platform-provided HttpClient being
      deprecated because a large fraction of applications still use this
      HttpClient library to generate HTTP traffic instead of using
      URLConnection.
      
      HttpClient is modular -- most of its parts can be replaced with
      alternative implementations. Thus, this CL enforces the cleartext
      traffic policy in DefaultRequestDirector because RequestDirector is
      least commonly replaced (if ever) and there are no other
      RequestDirector implementations provided by the library.
      
      The cleartext policy is enforced pretty late in the process of
      emitting a request to give time for any HttpRequestInterceptor
      instances to see the request. This is because some apps use a
      HttpRequestInterceptor to enforce their own policies about cleartext
      HTTP such as catching accidental use of cleartext HTTP and reporting
      it to their servers for analysis.
      
      Bug: 19215516
      Change-Id: I03687123080475581e7196d9bb8c0d006502d056
      23c78a7d
  16. 25 Feb, 2015 1 commit
  17. 13 Feb, 2015 2 commits
  18. 11 Feb, 2015 1 commit
  19. 04 Feb, 2015 2 commits
    • Narayan Kamath's avatar
      Unbundle org.apache.http.legacy. · 3e387462
      Narayan Kamath authored
      Lets us build it from source on both unbundled and platform
      branches. The main changes are :
      
      - We need a placeholder "WebAddress" class that's used internally.
        The class will be deleted from the frameworks once the webview
        stops using it (sigh...)
      
      - Use TrafficStats instead of SocketTagger.
      
      - Remove @hide annotations because they don't matter any more. We're
        not building stubs any more, and apps in both unbundled and platform
        branches will compile directly against the jar. We don't care about
        any of that because this is all deprecated API and deleted from the
        API specification.
      
      bug: 18027885.
      
      Change-Id: I6b5f06db2e3e0e34ccd7264c15e1fe594e61862e
      3e387462
    • Narayan Kamath's avatar
      Move apache specific portions of android.net.http to apache-http. · a8b46a3d
      Narayan Kamath authored
      .. and move some parts of apache-http into the framework. The parts that
      have been moved need to be in the bootclasspath because we have public API
      that returns org.apache.http.conn.ssl.SSLSocketFactory :( .
      
      This change also removes the placeholder library shim.
      
      bug: 18027885
      
      Change-Id: I37aa7562bcd5e05191b83676fae4533e03b86d1d
      a8b46a3d
  20. 28 Jan, 2015 4 commits
  21. 20 Jan, 2015 1 commit
    • Narayan Kamath's avatar
      Add placeholder library for org.apache.http.legacy. · df5e4d48
      Narayan Kamath authored
      This lets us move forward with the apache removal without
      being blocked on the finalization of the API for the previous
      release. We can drop the real library into place when we're
      free to make API removal changes again on master.
      
      bug: 18027885
      Change-Id: I4aa62176e334939095f7a2c210c9180c8feb4019
      df5e4d48
  22. 10 Dec, 2014 2 commits
  23. 08 Dec, 2014 1 commit
    • Narayan Kamath's avatar
      Remove apache-http host build. · 9447bd59
      Narayan Kamath authored
      Was probably used by the dalvik host build once upon a time, but
      isn't referenced any longer.
      
      This is in preparation for changes that make this library depend
      on the frameworks so that it isn't treated specially.
      
      bug: 18027885
      Change-Id: Iccf2ea4441eadea3400445d0542130c7362fd331
      9447bd59
  24. 23 Oct, 2014 1 commit