Permalink
Switch branches/tags
Commits on Jun 11, 2014
  1. [Http]: Fix a potential race condition in the WebConnectionGroup's co…

    baulig committed Jun 11, 2014
    …nnection list.
    
    Remove the "ConnectionState" from the connection list before closing the connection,
    this should avoid ServicePoint.SendRequest() ever crashing with a NullReferenceException
    due to getting a null return value from WebConnectionGroup.GetConnection().
Commits on Jun 10, 2014
  1. [Http]: Cosmetic, remove some dead code to fix warnings.

    baulig committed Jun 10, 2014
    The is no reason to ever invoke the callback on the ThreadPool,
    it would in fact only cause trouble.
  2. [Http]: Only recycle ServicePoints from the idle timer (fixes #19823).

    baulig committed with jonpryor Jun 10, 2014
    Thanks a lot for Martin Potter to find and report the race condition
    which was causing the problem.
    
    ServicePointManager.RecycleServicePoints() was a left-over from the
    old times when we didn't have an idle-timer based approach.
  3. [Http]: Read version from "HTTP CONNECT" response.

    baulig committed with jonpryor Jun 4, 2014
    When using "HTTP CONNECT" to create a tunnel to a proxy server,
    check the proxy server's response for the HTTP Version and close
    the connection if it's HTTP/1.0.
  4. [Http]: Fix the loop in WebConnection.ReadHeaders().

    baulig committed with jonpryor Jun 4, 2014
    We need to reset `gotStatus' each time we enter the outer loop or we
    would attempt to interpret the status line as a header.
  5. Small fix.

    baulig committed with jonpryor May 23, 2014
  6. [Http]: Cleanup chained async operations; bug #19161.

    baulig committed with jonpryor May 21, 2014
    Conflicts:
    	mcs/class/System/System.Net/WebConnectionStream.cs
Commits on May 13, 2014
Commits on Apr 17, 2014
  1. [Http]: Correctly handle request bodies when resending with authentic…

    baulig committed Apr 17, 2014
    …ation.
    
    My previous changes modified the way how we're handing the request body when
    resending a request due to a 30x redirection.
    
    Authentication is a "special" form of redirection because we sometimes need
    to resend a request with additional authentication headers.  Unfortunately,
    I forgot this, causing a regression which is now fixed.
    
    This has been reported as bugs #19119 and #19068.
Commits on Apr 8, 2014
  1. [android-hack] Fix SleepEx() compilation under the Android NDK

    jonpryor committed Apr 8, 2014
    Apparently the Android NDK on Wrench doesn't declare
    clock_nanosleep()/etc., so 0947ffd resulted in the same error.
    
    The correct fix would be to update the NDK on Wrench, which has a
    proper solution which isn't yet ready, so in the meantime/for
    expediency, declare the required functions so that we can get on with
    our lives.
    
    DO NOT CHERRY-PICK.
  2. [runtime] Fix SleepEx() compilation under the Android NDK.

    jonpryor committed Apr 8, 2014
    SleepEx() requires clock_nanosleep(), which Android provides, but
    declares in <time.h>, not <sys/time.h>
    
    Add #include<time.h> so that SleepEx() compiles.
Commits on Apr 7, 2014
  1. System/PCL: Implement HttpWebRequest.SupportsCookieContainer, WebRequ…

    migueldeicaza committed with jonpryor Mar 14, 2014
    …est.CreateHttp; Fixes #18378
Commits on Mar 6, 2014
  1. Merge pull request #915 from knocte/master

    mhutch committed Mar 6, 2014
    xbuild: include a Microsoft.Portable.Common.targets file (for F#)
  2. [corlib] Improve flow of ExecutionContext (few tests taken from #864)…

    marek-safar committed Mar 6, 2014
    …. Fixes #18121 and similar.
  3. Merge pull request #936 from adahn/master

    kumpera committed Mar 6, 2014
    [runtime] Fixed flags for VirtualAlloc in mono_valloc (Windows)
  4. Merge pull request #866 from linquize/content-type-encoding

    marek-safar committed Mar 6, 2014
    (master) If HTTP charset header is empty, do not append content encoding to Content-Type header
  5. Merge pull request #934 from exony-craigminihan/bugzilla#17897-B

    kumpera committed Mar 6, 2014
    [Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of boun...
  6. [Fix] Bugzilla #17897 - MemoryCacheEntryPriorityQueue throws out of b…

    Craig Minihan committed Mar 6, 2014
    …ounds after shrink
    
    - when MemoryCacheEntryPriorityQueue grows the timed items after a shrink
      the value of the member variable heapSize is wrong allowing an out-of-
      bounds exception which would normally be prevented by bounds tests
    - A test case was added for the out-of-bounds exception
  7. Really fix the build.

    vargaz committed Mar 6, 2014
Commits on Mar 5, 2014
  1. [runtime] Move some counters to the mono-counters infrastructure, to …

    vargaz committed Mar 5, 2014
    …break dependencies between utils/ and metadata/.
  2. [runtime] Fix a memory leak.

    vargaz committed Mar 5, 2014