1. 25 Apr, 2019 1 commit
  2. 01 Apr, 2019 1 commit
  3. 13 Mar, 2019 1 commit
  4. 11 Mar, 2019 1 commit
    • Tomasz Maczukin's avatar
      Restore availability of pprof in the debug server · 0cb2512f
      Tomasz Maczukin authored
      With CI Web Terminal initial implementation
      (gitlab-org/gitlab-runner!934)
      we've changed the way how the debug server is started.
      
      It can be seen at gitlab-org/gitlab-runner!934 (diffs)
      
      ```diff
      +		mux := http.NewServeMux()
      +
      		go func() {
      -			log.Fatalln(http.Serve(listener, nil))
      +			log.Fatalln(http.Serve(listener, mux))
      		}()
      ```
      
      Instead of relaying on the `http.DefaultServeMux` (which is used when
      `http.Serve(listener, nil)` is called), we're creating our own ServeMux
      which next is used for handling requests.
      
      Unfortunately this breaks automatic registration of pprof handlers,
      which in `net/http/pprof`'s `init()` are using `http.Handle()`, which
      registers the handlers in `http.DefaultServeMux`.
      
      This commit adds an explicit registration of pprof handlers to the
      `mux` ServeMux created by us. This will restore the functionality
      that we had present before version 11.3.0.
      0cb2512f
  5. 17 Feb, 2019 1 commit
  6. 23 Jan, 2019 3 commits
  7. 16 Jan, 2019 1 commit
  8. 22 Oct, 2018 1 commit
  9. 03 Oct, 2018 4 commits
  10. 26 Sep, 2018 2 commits
  11. 10 Sep, 2018 2 commits
  12. 07 Sep, 2018 1 commit
  13. 20 Aug, 2018 1 commit
  14. 14 Aug, 2018 1 commit
  15. 18 Jun, 2018 1 commit
  16. 15 May, 2018 1 commit
  17. 08 May, 2018 1 commit
  18. 27 Apr, 2018 1 commit
  19. 23 Feb, 2018 1 commit
  20. 19 Dec, 2017 1 commit
  21. 18 Dec, 2017 2 commits
  22. 11 Sep, 2017 1 commit
  23. 22 Aug, 2017 1 commit
  24. 24 May, 2017 1 commit
  25. 28 Apr, 2017 1 commit
  26. 25 Apr, 2017 1 commit
  27. 14 Apr, 2017 1 commit
  28. 28 Mar, 2017 1 commit
  29. 22 Mar, 2017 1 commit
  30. 20 Mar, 2017 1 commit
  31. 16 Mar, 2017 2 commits