Commit Graph

  • e064f32e36 Implements HTTPS proxy functionality main Sean Sullivan 2025-02-26 22:07:44 +00:00
  • 5e00238113 Do not timeout when WriteControl deadline is zero Martin Greenwald 2024-02-14 19:06:54 -08:00
  • c5b8b8c38a perf: reduce timer in write_control rfyiamcool 2024-01-22 13:47:31 +08:00
  • f01629e7ea perf: reduce timer in write_control rfyiamcool 2023-12-08 17:24:58 +08:00
  • 85fb2d8136 Fix typos Viktor Szépe 2024-07-14 09:59:04 +00:00
  • 3810b2346f Handle errcheck warnings Canelo Hill 2024-07-05 13:35:59 -04:00
  • a62d9d2a84 Handle net.Error Temporary() deprecation tebuka 2024-06-11 08:08:32 -07:00
  • 682b25fffc Move doHandshake to client.go tebuka 2024-06-11 18:18:10 -07:00
  • 8915bad18b Improve bufio handling in Upgrader.Upgrade Canelo Hill 2024-06-23 15:22:38 -07:00
  • d67f41855d Use crypto/rand for mask key Halo Arrow 2023-08-25 18:54:44 -07:00
  • 6426a30ef7 Return 426 status on missing upgrade header Thomas Massie 2024-05-25 17:16:00 -10:00
  • 1d5465562b Unbundle x/net/proxy and update to recent version Canelo Hill 2024-06-13 19:34:08 -07:00
  • 70bf50955e Silence false positive lint warning in proxy code Canelo Hill 2024-06-14 10:51:13 -07:00
  • f78ed9f987 Added tests for subprotocol selection Konstantin Burkalev 2023-09-05 22:51:59 +03:00
  • 17f407278f Fixes subprotocol selection (aling with rfc6455) Konstantin Burkalev 2022-10-20 11:04:56 +03:00
  • efaec3cbd1 Update README.md, replace master to main mstmdev 2023-11-09 02:57:41 +08:00
  • 688592ebe6 Improve client/server tests Canelo Hill 2024-06-18 21:42:48 -06:00
  • 7e5e9b5a25 Improve hijack failure error text tebuka 2024-06-12 21:15:45 -07:00
  • 8890e3e578 fix: don't use errors.ErrUnsupported, it's available only since go1.21 merlin 2023-12-13 22:28:24 +02:00
  • c7502098b0 use http.ResposnseController merlin 2023-11-22 21:47:04 +02:00
  • a70cea529a Update for deprecated ioutil package (#931) Canelo Hill 2024-06-18 22:44:41 -06:00
  • ac1b326ac0 Set min Go version to 1.20 (#930) Canelo Hill 2024-06-18 22:40:57 -06:00
  • 227456c3cc chore: Retract v1.5.2 from go.mod Daniel Holmes 2024-06-19 04:30:39 +00:00
  • ce903f6d1d Reverts to v1.5.0 v1.5.3 release-1.5 apoorvajagtap 2024-06-14 08:23:52 +05:30
  • 9ec25ca502 fixes broken random value generation v1.5.2 apoorvajagtap 2024-06-12 12:19:35 +05:30
  • 1bddf2e0db bumps go version & removes deprecated module usage apoorvajagtap 2024-04-05 01:09:24 +05:30
  • 750bf92096 adds GHA & Makefile configs apoorvajagtap 2024-04-05 00:27:39 +05:30
  • b2c246b2ec Revert " Update go version & add verification/testing tools (#840)" apoorvajagtap 2024-04-04 19:02:47 +05:30
  • 09a6bab466 removing error handling while closing connections apoorvajagtap 2024-03-11 12:36:55 +05:30
  • 58af150309 return errors instead of printing to logs apoorvajagtap 2024-02-14 23:38:08 +05:30
  • e5f1a0aad0 excludes errchecks linter apoorvajagtap 2024-03-19 23:44:15 +05:30
  • b2a86a1744 Do not timeout when WriteControl deadline is zero Martin Greenwald 2024-02-14 19:06:54 -08:00
  • 695e9095ce Remove hideTempErr to allow downstream users to check for errors like net.ErrClosed (#894) Rumen Nikiforov 2024-02-15 04:59:16 +02:00
  • d293aa53e1 feat: format message type rfyiamcool 2024-01-23 15:02:44 +08:00
  • 0cfb2cafd0 feat: format message type rfyiamcool 2024-01-23 14:50:52 +08:00
  • 316861440d fix: lint example rfyiamcool 2024-01-23 14:48:30 +08:00
  • d08ee1ad9b perf: reduce timer in write_control rfyiamcool 2024-01-22 13:47:31 +08:00
  • d15aba1e61 perf: reduce timer in write_control rfyiamcool 2023-12-08 17:24:58 +08:00
  • cf50a3efbb Revert "Print log message" Kenjiro Nakayama 2023-12-11 13:39:50 +09:00
  • 7d5b8cce7e Print log message Kenjiro Nakayama 2023-11-14 14:35:25 +09:00
  • 4965080703 Do not return error in SetCloseHandler Kenjiro Nakayama 2023-11-14 14:28:33 +09:00
  • 9a2140519a Do not handle network error in SetCloseHandler() Kenjiro Nakayama 2023-11-08 21:00:20 +09:00
  • 0f0acefeac fix: don't use errors.ErrUnsupported, it's available only since go1.21 merlin 2023-12-13 22:28:24 +02:00
  • 1e975a03ce use http.ResposnseController merlin 2023-11-22 21:47:04 +02:00
  • 4a5e66f763 make tests parallel merlin 2023-11-22 22:18:31 +02:00
  • 871f6bbc74 docs(echoreadall): fix function echoReadAll comment (#881) Alan Xu 2024-01-18 14:21:03 +08:00
  • dcea2f088c Remove noisy printf in NextReader() Brendan Creane 2023-11-29 13:16:16 -08:00
  • 01b0aaed92 fix: add comment for the readBufferSize and writeBufferSize (#869) fengyun.rui 2023-12-07 13:01:23 +08:00
  • 286c896192 fix: replace ioutil.readfile with os.readfile (#868) fengyun.rui 2023-12-07 12:58:12 +08:00
  • 6f5d2139f4 conn.go: default close handler should not return ErrCloseSent. (#865) Henrik Hautakoski 2023-11-13 01:54:23 +01:00
  • 629990daa3 Use status code constant (#864) mstmdev 2023-11-09 19:42:05 +08:00
  • b6a0d77c05 Update README.md, replace master to main (#862) mstmdev 2023-11-09 02:57:41 +08:00
  • aa976062fe Fixes subprotocol selection (aling with rfc6455) (#823) Konstantin Burkalev 2023-11-07 15:35:30 +02:00
  • 705b04d977 Update LICENSE coreydaley-patch-1 Corey Daley 2023-11-05 16:55:18 -05:00
  • ac0789be11 update GitHub workflows (#857) v1.5.1 Corey Daley 2023-10-18 08:27:41 -04:00
  • 78c34874c8 update golang.org/x/net (#856) Corey Daley 2023-10-17 19:57:41 -04:00
  • 666c197fc9 Update go version & add verification/testing tools (#840) Corey Daley 2023-08-26 16:01:45 -04:00
  • 80393295c1 Correct way to save memory using write buffer pool and freeing net.http default buffers (#761) LiuYang 2023-08-17 23:25:09 +08:00
  • 8983b96324 Merge pull request #839 from gorilla/coreydaley-patch-1 Corey Daley 2023-07-15 16:04:06 -04:00
  • 931041c5ee Update README.md Corey Daley 2023-07-15 10:54:14 -04:00
  • 76ecc29eff archive mode Matt Silverlock 2022-12-09 11:03:16 -05:00
  • af47554f34 check error before GotConn for trace Ye Sijun 2022-07-06 16:19:30 +08:00
  • bc7ce893c3 Check for and report bad protocol in TLSClientConfig.NextProtos (#788) Chan Kang 2022-06-21 13:54:14 -04:00
  • 27d91a9be5 drop the versions of go that are no longer supported + add 1.18 to ci Chan Kang 2022-06-19 20:27:09 -04:00
  • 78cf1bc733 Changed the method name UnderlyingConn to NetConn to align the methods names with Go 1.18 standard library (#773) JWSong 2022-04-17 22:01:17 +09:00
  • 69d0eb9187 Add check for Sec-WebSocket-Key header (#752) Yuki Hirasawa 2022-02-16 10:15:20 +09:00
  • 9111bb834a Dialer: add optional method NetDialTLSContext (#746) v1.5.0 Lluis Campos 2022-01-04 02:59:52 +01:00
  • 2f25f7843d Update README (#757) Gary Burd 2022-01-03 17:49:10 -08:00
  • 4fad403619 Remove support for Go 1.8 Gary Burd 2022-01-02 15:53:55 -08:00
  • f0643a3a18 Improve protocol error messages Gary Burd 2022-01-02 12:16:08 -08:00
  • 2d6ee4c55c Update autobahn example Gary Burd 2022-01-02 11:21:21 -08:00
  • beca1d3940 Fix broadcast benchmarks (#542) Alexander Emelin 2022-01-02 18:35:34 +03:00
  • bcef8431c9 Use context.Context in TLS handshake (#751) Gary Burd 2022-01-01 08:43:22 -08:00
  • 2c89656910 Modify http Method String Literal to Variable (#728) Rn 2021-12-20 01:21:45 +09:00
  • 1905f7e442 Update source to match output from gofmt 1.17 Gary Burd 2021-12-17 22:48:51 -05:00
  • b4b5d887ad Document the allowed concurrency on Upgrader and Dialer (#636) Gary Burd 2021-12-16 11:07:50 -08:00
  • e8629af678 improve echo example (#671) hellflame 2021-04-25 00:20:22 +08:00
  • c3dd95aea9 build: use build matrix; drop Go <= 1.10 (#629) Matt Silverlock 2020-09-12 12:32:13 -07:00
  • 78ab81e242 docs: clarify that sub protocols are not set via responseHeader arg. Matt Silverlock 2020-08-22 14:03:32 -07:00
  • 873e67e4d5 Fix how the client checks for presence of Upgrade: websocket, Connection: upgrade (#604) Ran Benita 2020-08-20 16:43:18 +03:00
  • b65e62901f build: clean up go.sum (#584) v1.4.2 Matt Silverlock 2020-03-19 10:50:51 -07:00
  • 8c288dca3e docs: Fix typo. (#568) Jon Gillham 2020-03-19 17:45:00 +00:00
  • d11356942f Duration order consistency when multiplying number by time unit (#570) Maxim Fominykh 2020-03-19 19:01:23 +05:00
  • 81cef7da56 echo example: handle received messages as text, not HTML (#563) Sry Back I 2020-03-19 06:53:02 -07:00
  • 015e196e21 Use empty struct to protect writing (#566) ferhat elmas 2020-03-19 14:52:00 +01:00
  • e90f6db575 input autofocus (#564) Rubi 2020-03-19 20:50:48 +07:00
  • 0a093fcde5 Fix a couple of small typo's (#567) John Johnson III 2020-03-19 08:49:51 -05:00
  • ed9368d0b7 typo (#583) Dave Baker 2020-03-19 09:46:44 -04:00
  • 836e821143 Changed the link of API references to pkg.go.dev (#577) prophecy 2020-03-19 19:46:16 +06:00
  • e365eeef09 test: fix unintended test comment in TestFraming elithrar/framing-test-fix Matt Silverlock 2019-08-24 22:20:45 -07:00
  • c3e18be99d Create release-drafter.yml (#538) v1.4.1 Matt Silverlock 2019-08-24 18:20:11 -07:00
  • 5b740c2926 Read Limit Fix (#537) Matt Silverlock 2019-08-24 18:17:28 -07:00
  • 7e9819d926 fix typos (#532) xiaobogaga 2019-08-23 08:05:46 -05:00
  • ae1634f6a9 Create CircleCI config.yml (#519) Matt Silverlock 2019-06-29 11:55:28 -07:00
  • 80c2d40e9b fix autobahn test suite link (#503) Jürgen Etzlstorfer 2019-04-27 06:03:06 +02:00
  • 6a67f44b69 remove redundant err!=nil check in conn.go Close method (#505) Tariq Ibrahim 2019-04-26 21:02:11 -07:00
  • 0ec3d1bd7f Fix typo Gary Burd 2019-03-05 16:42:57 -08:00
  • 856ca61301 Add buffer commentary Steven Scott 2019-03-05 16:15:07 -08:00
  • 7c8e298727 Add support for go-module Saddam H 2018-12-18 13:24:45 +06:00
  • 8ab6030ad9 Add JoinMessages Steven Scott 2019-02-04 16:42:47 -08:00