1. 03 8月, 2018 1 次提交
    • R
      Earlier processing of forwarded headers · a8a1fc6d
      Rossen Stoyanchev 提交于
      Forwarded headers are now processed before ServerWebExchange is created
      through ForwardedHeaderTransformer which has the same logic as the
      ForwardedHeaderFilter but works on the request only.
      
      ForwardedHeaderFilter is deprecated as of 5.1 but if registered it is
      removed from the list of filters and ForwardedHeaderTransformer is used
      instead.
      
      Issue: SPR-17072
      a8a1fc6d
  2. 01 8月, 2018 2 次提交
  3. 25 7月, 2018 5 次提交
    • J
      Polishing · 2b2bf279
      Juergen Hoeller 提交于
      2b2bf279
    • J
      Polishing · 3881a4ad
      Juergen Hoeller 提交于
      3881a4ad
    • S
      Support Protobuf serialization in WebFlux · 36a07aa8
      sdeleuze 提交于
      This commit introduces Protobuf support in WebFlux via dedicated
      codecs.
      
      Flux<Message> are serialized/deserialized using delimited Protobuf
      messages with the size of each message specified before the message
      itself. In that case, a "delimited=true" parameter is added to the
      content type.
      
      Mono<Message> are expected to use regular Protobuf message
      format (without the size prepended before the message).
      
      Related HttpMessageReader/Writer are automatically registered when the
      "com.google.protobuf:protobuf-java" library is detected in the classpath,
      and can be customized easily if needed via CodecConfigurer, for example
      to specify protocol extensions via the ExtensionRegistry based
      constructors.
      
      Both "application/x-protobuf" and "application/octet-stream" mime types
      are supported.
      
      Issue: SPR-15776
      36a07aa8
    • R
      Consistently remove forwarded headers in WebFlux · 2e4f5a79
      Rossen Stoyanchev 提交于
      Preparation for SPR-17072
      2e4f5a79
    • R
      Polish WebFlux ForwardedHeaderFilter and tests · 41aa4218
      Rossen Stoyanchev 提交于
      Preparation for SPR-17072
      41aa4218
  4. 24 7月, 2018 2 次提交
  5. 21 7月, 2018 1 次提交
    • B
      Switch order of multipart Content-Type directives · 390bb871
      Brian Clozel 提交于
      Since SPR-15205, the `FormHttpMessageConverter` is adding a `charset`
      directive to the `Content-Type` request header in order to help servers
      understand which charset is being used to encode headers of each part.
      
      As reported in SPR-17030 and others, some servers are not parsing
      properly such header values and assume that `boundary` is the last
      directive in the `Content-Type` header.
      
      This commit reorders the charset information right before the boundary
      declaration to get around those issues.
      
      Issue: SPR-17030
      390bb871
  6. 20 7月, 2018 3 次提交
  7. 19 7月, 2018 1 次提交
  8. 17 7月, 2018 4 次提交
  9. 16 7月, 2018 1 次提交
    • R
      Support for encode() in UriComponentsBuilder · 5fb49820
      Rossen Stoyanchev 提交于
      The ability to request to encode before `build()`, and more importantly
      before expanding, allows stricter encoding to be applied to URI vars
      and consequently to neutralize the effect of characters with reserved
      meaning in a URI.
      
      Issue: SPR-17039
      5fb49820
  10. 13 7月, 2018 1 次提交
    • R
      Add maxSessions, getSessions, removeExpiredSessions · 43fbd632
      Rossen Stoyanchev 提交于
      This commit removes the session threshold check added recently which
      is not effective since maxIdleTime is usually much longer than the
      frequency of checks. The lazy triggering of expiration checks during
      create or retreive are simple and the most effective
      
      This commit also adds a maxSessions limit on the total number of
      sessions that can be created at any one time, a getSessions method
      for management purposes, and a removeExpiredSessions public API
      for manual triggering of expiration checks.
      
      Issue: SPR-17020, SPR-16713
      43fbd632
  11. 12 7月, 2018 1 次提交
    • R
      Improve expired session check algorithm · 32b75221
      Rossen Stoyanchev 提交于
      1. Add session count threshold as am extra pre-condition.
      2. Check pre-conditions for expiration checks on every request.
      
      Effectively an upper bound on how many sessions can be created before
      expiration checks are performed.
      
      Issue: SPR-17020
      32b75221
  12. 11 7月, 2018 1 次提交
  13. 09 7月, 2018 2 次提交
  14. 07 7月, 2018 1 次提交
  15. 06 7月, 2018 2 次提交
  16. 05 7月, 2018 1 次提交
  17. 03 7月, 2018 1 次提交
  18. 02 7月, 2018 1 次提交
  19. 30 6月, 2018 4 次提交
  20. 28 6月, 2018 3 次提交
    • J
      Polishing · 40efcc93
      Juergen Hoeller 提交于
      40efcc93
    • P
      Use tabs rather than spaces in tests · a89e716c
      Phillip Webb 提交于
      Update tests to ensure that tabs are used instead of spaces. Also
      consistently apply a new line at the end of each file.
      
      Issue: SPR-16968
      a89e716c
    • P
      Polish test code · 1c25cec4
      Phillip Webb 提交于
      Polish a few issue identified when adding checkstyle to the
      build. Although checkstyle is not enforcing rules on tests,
      these are a few minor changes that are still worth making.
      
      Issue: SPR-16968
      1c25cec4
  21. 26 6月, 2018 1 次提交
  22. 23 6月, 2018 1 次提交