1. 06 5月, 2019 1 次提交
  2. 03 5月, 2019 1 次提交
  3. 27 4月, 2019 1 次提交
  4. 26 4月, 2019 1 次提交
  5. 21 4月, 2019 1 次提交
  6. 17 4月, 2019 1 次提交
    • R
      LeakAwareDataBuffer related fixes · 375090bb
      Rossen Stoyanchev 提交于
      Following on 3ebbfa21 where the local
      refCount was removed in favor of using the internal refCount of the
      native data buffer, this commit ensures that LeakAwareDataBufferFactory
      uses a PooledDataBufferFactory delegate by default.
      
      There are also fixes for test issues with eager allocation uncovered by
      these changes in StringDecoder and ResourceDecoder.
      375090bb
  7. 11 4月, 2019 1 次提交
    • R
      Fix refCount issue in LeakAwareDataBuffer · 3ebbfa21
      Rossen Stoyanchev 提交于
      LeakAwareDataBuffer was keeping its own refCount rather than checking
      through the delegate. This leads to false leak reports in a sequence
      where an allocated buffer is retained and then sliced since it is not
      aware of the changes to the refCount through the slice.
      3ebbfa21
  8. 10 4月, 2019 1 次提交
  9. 09 4月, 2019 1 次提交
  10. 08 4月, 2019 3 次提交
  11. 06 4月, 2019 4 次提交
  12. 05 4月, 2019 1 次提交
    • S
      Add support for Coroutines Flow · a8d6ba99
      Sebastien Deleuze 提交于
      Flow is a Kotlin Coroutines related cold asynchronous
      stream of the data, that emits from zero to N (where N
      can be unbounded) values and completes normally or with
      an exception.
      
      It is conceptually the Coroutines equivalent of Flux with
      an extension oriented API design, easy custom operator
      capabilities and some suspending methods.
      
      This commit leverages Flow <-> Flux interoperability
      to support Flow on controller handler method parameters
      or return values, and also adds Flow based extensions to
      WebFlux.fn. It allows to reach a point when we can consider
      Spring Framework officially supports Coroutines even if some
      additional work remains to be done like adding
      interoperability between Reactor and Coroutines contexts.
      
      Flow is currently an experimental API that is expected to
      become final before Spring Framework 5.2 GA.
      
      Close gh-19975
      a8d6ba99
  13. 04 4月, 2019 4 次提交
  14. 03 4月, 2019 3 次提交
  15. 31 3月, 2019 1 次提交
  16. 29 3月, 2019 4 次提交
    • P
      Use RepeatableContainers.none() in AnnotationUtils · f273fa99
      Phillip Webb 提交于
      Update `AnnotationUtils` so that `RepeatableContainers.none()` is used
      when performing an exhaustive search for merged annotations. These
      parameters were accidentally removed in commit 210b1789 and weren't
      caught earlier because we were missing a test.
      
      Closes gh-22702
      f273fa99
    • P
      Ignore 'value' attribute in AnnotationTypeMapping · 800cbf25
      Phillip Webb 提交于
      Update `addConventionAnnotationValues` so that `value` attributes
      do not override existing annotation values. The aligns the new
      `MergedAnnotations` API with the previous `AnnotatedElementUtils`
      logic.
      
      Closes gh-22703
      800cbf25
    • R
      Uncomment buffer leak tests in DataBufferUtils · beae1fbb
      Rossen Stoyanchev 提交于
      Following a response on
      https://github.com/reactor/reactor-core/issues/1634 apparently
      FluxSink is respecting doOnDiscard but there is a race condition
      in DataBufferUtils with file reading.
      
      This commit makes two changes:
      1) Add more checks for onDispose to detect cancellation signals
      as well as to deal with potentially concurrent such signal.
      2) Do not close the channel through the Flux.using callback but
      rather allow the current I/O callback to take place and only then
      close the channel or else the buffer is left hanging.
      
      Despite this tests still can fail due to a suspected issue in Reactor
      itself with the doOnDiscard callback for FluxSink. That's tracked under
      the same issue https://github.com/reactor/reactor-core/issues/1634
      and for now the use of DefaultDataBufferFactory is enforced as a
      workaround until the issue is resolved.
      
      See gh-22107
      beae1fbb
    • S
      URL Cleanup - polishing · 3f85530e
      Sam Brannen 提交于
      3f85530e
  17. 28 3月, 2019 7 次提交
  18. 27 3月, 2019 3 次提交
    • J
      Refined retrieval of plain annotations through direct presence checks · c9857702
      Juergen Hoeller 提交于
      Shortcut checks apply for hasPlainJavaAnnotationsOnly types as well now.
      
      Closes gh-22685
      c9857702
    • S
      Infer Kotlin null-safety from type variables · cbb5a78a
      Sebastien Deleuze 提交于
      This commit removes the constraint from type variables in
      PropertyResolver, JdbcOperations and RestOperations
      Kotlin extensions in order to get null-safety inferred
      from the type declared by the user.
      
      Closes gh-22687
      cbb5a78a
    • R
      Buffer leak fixes · c5435578
      Rossen Stoyanchev 提交于
      Address issues where buffers are allocated (and cached somehow) at or
      before subscription, and before explicit demand.
      
      The commit adds tests proving the leaks and fixes. The common thread
      for all tests is a "zero demand" subscriber that subscribes  but does
      not request, and then cancels without consuming anything.
      
      Closes gh-22107
      c5435578
  19. 26 3月, 2019 1 次提交