1. 02 11月, 2019 1 次提交
  2. 01 11月, 2019 2 次提交
  3. 31 10月, 2019 12 次提交
  4. 30 10月, 2019 17 次提交
  5. 29 10月, 2019 8 次提交
    • B
      Add missing CORS headers defined in SockJS CORS config · 7d02ba06
      Brian Clozel 提交于
      Prior to this commit and following changes done in d27b5d0a, the CORS
      response headers would not be added for SockJS-related requests, even
      though a CORS configuration had been applied to SockJS/WebSocket.
      This was due to a missing case in our implementation: calling
      `AbstractHandlerMapping#getHandlerInternal` can return a Handler
      directly, but also a `HandlerExecutionChain` in some cases, as explained
      in the Javadoc.
      
      This commit ensures that, when checking for existing CORS configuration,
      the `AbstractHandlerMapping` class also considers the
      `HandlerExecutionChain` case and unwraps it to get the CORS
      configuration from the actual Handler.
      
      Fixes gh-23843
      7d02ba06
    • R
      Merge limits on input in codecs · ef14d76d
      Rossen Stoyanchev 提交于
      ef14d76d
    • R
      Expose maxInMemorySize via CodecConfigurer · 5abf24e7
      Rossen Stoyanchev 提交于
      Centralized maxInMemorySize exposed via CodecConfigurer along with
      ability to plug in an instance of MultipartHttpMessageWrite.
      
      Closes gh-23884
      5abf24e7
    • R
      Refine multipart parsing limits · 00ead7a7
      Rossen Stoyanchev 提交于
      See gh-23884
      00ead7a7
    • B
      Configurable limits with Synchronoss · ea6f51e9
      Brian Clozel 提交于
      See gh-23884
      ea6f51e9
    • B
      Polishing · 69bcdfc1
      Brian Clozel 提交于
      69bcdfc1
    • R
      Limits on input stream in codecs · 89d053d7
      Rossen Stoyanchev 提交于
      - Add maxInMemorySize property to Decoder and HttpMessageReader
        implementations that aggregate input to trigger
        DataBufferLimitException when reached.
      
      - For codecs that call DataBufferUtils#join, there is now an overloaded
        variant with a maxInMemorySize extra argument. Internally, a custom
        LimitedDataBufferList is used to count and enforce the limit.
      
      - Jackson2Tokenizer and XmlEventDecoder support those limits per
        streamed JSON object.
      
      See gh-23884
      89d053d7
    • S
      Polish contribution · ce0b012f
      Sam Brannen 提交于
      See gh-23769
      ce0b012f