CorentinB / warc

Read and write WARC files in Go
Creative Commons Zero v1.0 Universal
16 stars 4 forks source link

Fix proxy implementation #27

Closed CorentinB closed 2 years ago

CorentinB commented 2 years ago

Seems to be working. Although the current way the proxy test in client_test.go works is causing a goroutine leak that goleak detects. Two ways to fix that:

I haven't been able to ignore it even with goleak's method that I commented-out in warc_test.go. Although of course the 1st way would be the cleaner way to do that.