What's Changed
- Fixed some typos in the README.md by @flowonyx in #313
- Golint fixes by @disc in #315
- Add status text based on status code on new HTTP responses by @jgiannuzzi in #303
- Add go.mod to make project Go modules compatible by @hmarr in #331
- Added logger interface to allow usage of custom loggers by @mbilski in #323
- Pluggable certificate storage (following on from #284) by @hmarr in #332
- Update README.md by @lived-tw in #337
- Update return response example to follow current API by @y-yagi in #347
- Add support for signing with ecdsa keys by @johnerikhalse in #340
- Issue: #345 - fixes resp == nil: by @azak-azkaran in #348
- set RemoteAddr to CONNECT request on trasparent example by @odg0318 in #354
- Random cert serial by @dmjones in #355
- WebSocket Support (cherry-picked from coreos/goproxy) by @skoot in #360
- improvement: more general support for half-closable connections by @onokonem in #369
- Make project pass
go vet
. by @bartle-stripe in #370 - Export ProxyHttpServer by @kimor79 in #371
- Update references to now-exported Proxy by @kimor79 in #373
- Fix
proxy
typo compile error by @baislsl in #378 - Don't return http 200 for ConnectHijack actions by @riraccuia in #377
- Add StatusCodeIs response condition by @n-i-x in #380
- Forgot that this isn't a library like it was in my fork by @n-i-x in #382
- Enable github actions ci by @hoozecn in #383
- Feature/keep header by @azak-azkaran in #391
- unit testing to response Content-Length. by @telanflow in #396
- Fix tests by @alovak in #388
- fix a regular expression in eavesdropper example by @CoolSpring8 in #398
- Respond with 200 Ok on successful connection by @RoganDawes in #406
- Update main.go by @4n70w4 in #420
- Fix method to deny connections in docs. by @areading314 in #447
- sample certstorage by @suxianbaozi in #454
- Improve an example of transparent proxy: use DialContext() instead of Dial() by @hgsgtk in #462
- Fix the signer signing an invalid certificate by @riijj in #466
- fix some typos by @cuishuang in #469
- fix: return
Connection established
insteadOK
by @hgsgtk in #472 - Preserve Content-Length in header of HEAD response by @ttt43ttt in #473
- Resolves #475 by @waggledans in #477
- Pass ctx to connectDial by @chenwng in #483
- fix issue: #431 (ERR_CERT_VALIDITY_TOO_LONG) by @xujinzheng in #432
- Added control for the nil request by @g0ku704 in #507
- Fix data race in MITM'ed HTTPS request handling by @WGH- in #509
- chore: use strings.ContainsRune instead by @testwill in #513
- httpError: write error string as body in 502 response by @omribahumi in #448
- fix: Package renaming by @wangfeng22 in #516
- Clean up SimpleHttpRequest test. by @msuozzo in #540
- Ensure tls client is closed if handshake fails by @aibaars in #541
- Add basic passthrough HTTP/2 support. by @msuozzo in #539
- ext.auth: return
nil
instead ofOkConnect
by @aibaars in #542 - Fix go version constraint by @msuozzo in #543
- Handle https to http override in TLS MitM websocket connection by @dlski in #505
- Add support for ED25519 CA cert key by @ErikPelli in #555
- ProxyHttpServer.Tr.Dial() Deprecated, use DialContext() instead. by @youngifif in #557
- Avoid Header Canonicalization in copyHeaders by Using Direct Assignment by @alessiodallapiazza in #553
- IsLocalHost: support host:port by @mmatczuk in #488
- Improve the https scheme matching by @ryoii in #508
- math/rand call refactoring by @ErikPelli in #567
- fix the problem that HTTP steam request cannot be flushed by @taco-wang in #523
- Case insensitive host comparison by @ErikPelli in #565
- Bugfix in proxy.go while using multiple handlers by @chaudhryfaisal in #415
- Add concurrency limitation feature by @ErikPelli in #570
- Replace ioutil & magic numbers by @ErikPelli in #571
- Optimize CA certificate usage by @ErikPelli in #574
- Integrate Spectolabs fixes by @ErikPelli in #572
- Examples Refactoring by @ErikPelli in #577
- fix: honour KeepHeader on https connections by @mvanholsteijn in #460
- Rewrite readme by @ErikPelli in #578
New Contributors
- @flowonyx made their first contribution in #313
- @disc made their first contribution in #315
- @jgiannuzzi made their first contribution in #303
- @hmarr made their first contribution in #331
- @mbilski made their first contribution in #323
- @lived-tw made their first contribution in #337
- @y-yagi made their first contribution in #347
- @johnerikhalse made their first contribution in #340
- @azak-azkaran made their first contribution in #348
- @odg0318 made their first contribution in #354
- @dmjones made their first contribution in #355
- @skoot made their first contribution in #360
- @onokonem made their first contribution in #369
- @bartle-stripe made their first contribution in #370
- @kimor79 made their first contribution in #371
- @baislsl made their first contribution in #378
- @riraccuia made their first contribution in #377
- @n-i-x made their first contribution in #380
- @hoozecn made their first contribution in #383
- @telanflow made their first contribution in #396
- @alovak made their first contribution in #388
- @CoolSpring8 made their first contribution in #398
- @RoganDawes made their first contribution in #406
- @4n70w4 made their first contribution in #420
- @areading314 made their first contribution in #447
- @suxianbaozi made their first contribution in #454
- @hgsgtk made their first contribution in #462
- @riijj made their first contribution in #466
- @cuishuang made their first contribution in #469
- @ttt43ttt made their first contribution in #473
- @waggledans made their first contribution in #477
- @chenwng made their first contribution in #483
- @xujinzheng made their first contribution in #432
- @g0ku704 made their first contribution in #507
- @WGH- made their first contribution in #509
- @testwill made their first contribution in #513
- @omribahumi made their first contribution in #448
- @wangfeng22 made their first contribution in #516
- @msuozzo made their first contribution in #540
- @aibaars made their first contribution in #541
- @dlski made their first contribution in #505
- @ErikPelli made their first contribution in #555
- @youngifif made their first contribution in #557
- @alessiodallapiazza made their first contribution in #553
- @mmatczuk made their first contribution in #488
- @ryoii made their first contribution in #508
- @taco-wang made their first contribution in #523
- @chaudhryfaisal made their first contribution in #415
- @mvanholsteijn made their first contribution in #460
Full Changelog: v1.1...v1.2