Skip to content
Snippets Groups Projects
  1. Jan 11, 2020
  2. Jan 06, 2020
  3. Jan 05, 2020
    • John Eikenberry's avatar
      fix issue with file put resume/append · 1bc3ea14
      John Eikenberry authored
      Fixes issue with append uploads. Was opening the file with O_APPEND, but
      it uses WriteAt() to write the data which doesn't work with a file
      opened in append mode. Removing the append flag fixes the issue as the
      client is sending the offsets anyways.
      
      Also added a note to the Request server's FileWriter interface on
      handling append flags.
      1bc3ea14
  4. Jan 03, 2020
  5. Jan 02, 2020
  6. Dec 30, 2019
  7. Dec 27, 2019
  8. Dec 24, 2019
  9. Nov 11, 2019
  10. Nov 02, 2019
  11. Oct 28, 2019
  12. Oct 27, 2019
  13. Oct 23, 2019
  14. Oct 22, 2019
  15. Oct 21, 2019
  16. Oct 14, 2019
  17. Oct 11, 2019
  18. Oct 09, 2019
  19. Sep 29, 2019
  20. Sep 13, 2019
  21. Sep 12, 2019
    • Nicola Murino's avatar
      notify errors to readerAt and writerAt · c5d967b3
      Nicola Murino authored
      Add an optional interface that readerAt and writerAt can implement
      to be notified about the error causing Serve() to exit with the
      request still open.
      
      Implement the TransferError interface in request-example.
      This way we can run the request server example in debug mode, for example:
      
      cd examples/request-server
      go run -tags debug main.go
      
      simulate a connection error killing an sftp client while uploading/downloading
      and see the debug log that shows that the error is correctly notifyed
      
      Fixes #306
      c5d967b3
  22. Aug 30, 2019
    • Nicola Murino's avatar
      fix lint issues · b4ea0fd6
      Nicola Murino authored
      These lint issues remain:
      
      - request-errors.go, aliases for new error types
      - request-attrs.go, UidGid. Changing this will break compatibility
      b4ea0fd6
  23. Aug 29, 2019
Loading