{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":235361470,"defaultBranch":"master","name":"go","ownerLogin":"dunglas","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2020-01-21T14:27:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/57224?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1726220999.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"f8180b9f656ecccab4c6d8bbe44323e70f94a02e","ref":"refs/heads/url-port-ouf-of-range","pushedAt":"2024-09-13T09:49:59.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/url: return an error if port is out of range\n\nThe existing implementation does not validate\nthat the port number is in the allowed range.\n\nWHATWG URL Living Standard mandates that\nparsing URLs with invalid ports fails:\nhttps://url.spec.whatwg.org/#port-out-of-range\n\nFixes #69443.","shortMessageHtmlLink":"net/url: return an error if port is out of range"}},{"before":"b2d9e5ff4e584e0705bd559658efc353926c4bf7","after":"787d62454c31565d0828777bf5ba24c99345af4d","ref":"refs/heads/patch-1","pushedAt":"2024-03-30T09:08:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"cmd/cgo: update outdated docs about cgocheck2","shortMessageHtmlLink":"cmd/cgo: update outdated docs about cgocheck2"}},{"before":"ad95b5ff9278844ef46822846f64997427fabc53","after":"2d805b3322327b73076a197628987ac874311664","ref":"refs/heads/docs/benchmem","pushedAt":"2024-03-12T21:26:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"update the correct source file","shortMessageHtmlLink":"update the correct source file"}},{"before":null,"after":"ad95b5ff9278844ef46822846f64997427fabc53","ref":"refs/heads/docs/benchmem","pushedAt":"2024-02-01T17:09:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"cmd/go: update docs for go test -benchmem\n\nMention that the allocation counter doesn't count allocations\nmade using C.malloc (cgo) or in C.","shortMessageHtmlLink":"cmd/go: update docs for go test -benchmem"}},{"before":"99e12bee441ac82f53bbb0e5cf2fdad716aba5a6","after":"b2d9e5ff4e584e0705bd559658efc353926c4bf7","ref":"refs/heads/patch-1","pushedAt":"2024-01-23T00:54:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"cmd/cgo: update outdated docs about cgocheck2","shortMessageHtmlLink":"cmd/cgo: update outdated docs about cgocheck2"}},{"before":"577f6cf626c2993728417b8e2bea5e4cbb582eb1","after":"82674e66c28f0ac2c6d889162ef034213887385b","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-17T10:01:35.437Z","pushType":"push","commitsCount":1,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"don't enforce deadlines","shortMessageHtmlLink":"don't enforce deadlines"}},{"before":"8e5d8d7acce130d1235a3375304a4c401677779e","after":"577f6cf626c2993728417b8e2bea5e4cbb582eb1","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-16T16:50:25.923Z","pushType":"push","commitsCount":1,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"Update src/net/http/httptest/recorder.go\n\nCo-authored-by: Pascal Borreli ","shortMessageHtmlLink":"Update src/net/http/httptest/recorder.go"}},{"before":"42f634a61ce3031ae600acf5440c7f7775c5f88d","after":"8e5d8d7acce130d1235a3375304a4c401677779e","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-16T16:22:30.839Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/http/httptest: add support for ResponseController to ResponseRecorder\n\nCL #54136 (implemented in Go 1.20) added the \"http\".ResponseController\ntype, which allows manipulating per-request timeouts.\nThis is especially useful for programs managing long-running\nHTTP connections such as Mercure.\n\nHowever, testing HTTP handlers leveraging per-request timeouts\nis currently cumbersome (even if doable) because\n\"net/http/httptest\".ResponseRecorder isn't compatible yet with\n\"http\".ResponseController.\n\nThis patch makes ResponseRecorder compatible with\n\"http\".ResponseController.\n\nAll new methods are part of the contract that response types\nmust honor to be usable with \"http\".ResponseController.\n\nNewRecorderWithDeadlineAwareRequest() is necessary to test\nread deadlines, as calling rw.SetReadDeadline() must change\nthe deadline on the request body.\n\nFixes #60229.","shortMessageHtmlLink":"net/http/httptest: add support for ResponseController to ResponseReco…"}},{"before":"d0f9c739e43f77c2f94d50d0d63dc767d059f148","after":"42f634a61ce3031ae600acf5440c7f7775c5f88d","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-16T16:17:36.641Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/http/httptest: add support for http.ResponseController to\nResponseRecorder\n\nCL #54136 (implemented in Go 1.20) added the \"http\".ResponseController\ntype, which allows manipulating per-request timeouts.\nThis is especially useful for programs managing long-running\nHTTP connections such as Mercure.\n\nHowever, testing HTTP handlers leveraging per-request timeouts\nis currently cumbersome (even if doable) because\n\"net/http/httptest\".ResponseRecorder isn't compatible yet with\n\"http\".ResponseController.\n\nThis patch makes ResponseRecorder compatible with\n\"http\".ResponseController.\n\nAll new methods are part of the contract that response types\nmust honor to be usable with \"http\".ResponseController.\n\nNewRecorderWithDeadlineAwareRequest() is necessary to test\nread deadlines, as calling rw.SetReadDeadline() must change\nthe deadline on the request body.\n\nFixes #60229.","shortMessageHtmlLink":"net/http/httptest: add support for http.ResponseController to"}},{"before":"9bb7a1d068705db35ffc88849f54e008ebde7c0a","after":"d0f9c739e43f77c2f94d50d0d63dc767d059f148","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-16T16:15:34.012Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/http/httptest: add support for http.ResponseController to\nResponseRecorder\n\n #54136 (implemented in Go 1.20) added the \"http\".ResponseController\ntype, which allows manipulating per-request timeouts.\nThis is especially useful for programs managing long-running\nHTTP connections such as Mercure.\n\nHowever, testing HTTP handlers leveraging per-request timeouts\nis currently cumbersome (even if doable) because\n\"net/http/httptest\".ResponseRecorder isn't compatible yet with\n\"http\".ResponseController.\n\nThis patch makes ResponseRecorder compatible with\n\"http\".ResponseController.\n\nAll new methods are part of the contract that response types\nmust honor to be usable with \"http\".ResponseController.\n\nNewRecorderWithDeadlineAwareRequest() is necessary to test\nread deadlines, as calling rw.SetReadDeadline() must change\nthe deadline on the request body.\n\nFixes #60229.\n\n# Veuillez saisir le message de validation pour vos modifications. Les lignes\n# commençant par '#' seront conservées ; vous pouvez les supprimer vous-même\n# si vous le souhaitez. Un message vide abandonne la validation.\n#\n# Date : Mon May 15 17:59:56 2023 +0200\n#\n# Sur la branche httptest_recorder_responsecontroller\n# Modifications qui seront validées :\n#\tmodifié : net/http/httptest/example_test.go\n#\tmodifié : net/http/httptest/recorder.go\n#\tmodifié : net/http/httptest/recorder_test.go\n#\tmodifié : net/http/server.go\n#","shortMessageHtmlLink":"net/http/httptest: add support for http.ResponseController to"}},{"before":"1d626819ecc884e77fd230328e31dc7bbbcf970f","after":"9bb7a1d068705db35ffc88849f54e008ebde7c0a","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-16T16:12:49.990Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/http/httptest: add support for http.ResponseController to\nResponseRecorder\n\ntype, which allows manipulating per-request timeouts.\nThis is especially useful for programs managing long-running\nHTTP connections such as Mercure.\n\nHowever, testing HTTP handlers leveraging per-request timeouts\nis currently cumbersome (even if doable) because\n\"net/http/httptest\".ResponseRecorder isn't compatible yet with\n\"http\".ResponseController.\n\nThis patch makes ResponseRecorder compatible with\n\"http\".ResponseController.\n\nAll new methods are part of the contract that response types\nmust honor to be usable with \"http\".ResponseController.\n\nNewRecorderWithDeadlineAwareRequest() is necessary to test\nread deadlines, as calling rw.SetReadDeadline() must change\nthe deadline on the request body.\n\nFixes #60229.","shortMessageHtmlLink":"net/http/httptest: add support for http.ResponseController to"}},{"before":null,"after":"1d626819ecc884e77fd230328e31dc7bbbcf970f","ref":"refs/heads/httptest_recorder_responsecontroller","pushedAt":"2023-05-15T17:39:10.898Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dunglas","name":"Kévin Dunglas","path":"/dunglas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57224?s=80&v=4"},"commit":{"message":"net/http/httptest: add support for http.ResponseController to\nResponseRecorder","shortMessageHtmlLink":"net/http/httptest: add support for http.ResponseController to"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEtVIH3gA","startCursor":null,"endCursor":null}},"title":"Activity · dunglas/go"}