Commit Graph

  • bc7ce893c3
    Check for and report bad protocol in TLSClientConfig.NextProtos (#788) Chan Kang 2022-06-21 13:54:14 -0400
  • b7f4791dd9 move the unit test back into the existing test code since golang build constraint is no longer necessary Chan Kang 2022-06-20 20:40:03 -0400
  • 0cd10fc3fa Revert "using %v instead of %w for compatibility with older versions of go" Chan Kang 2022-06-20 20:37:03 -0400
  • d34dd940ee using %v instead of %w for compatibility with older versions of go Chan Kang 2022-06-19 15:19:18 -0400
  • d926999018 wrapping the error in %w Chan Kang 2022-06-19 15:15:12 -0400
  • fc45505c46 moving the new error check into existing http response error block to reduce the possibility of false positives Chan Kang 2022-06-19 15:07:33 -0400
  • b67992cf90 move the NextProtos test into a separate file so that it can be run conditionally on go versions >= 1.14 Chan Kang 2022-06-13 22:09:36 -0400
  • 1da1d61679 addressing the review Chan Kang 2022-06-13 21:23:02 -0400
  • a410921e1d check for nil-ness of Dialer.TLSClientConfig before attempting to run the check Chan Kang 2022-06-12 00:51:51 -0400
  • 464f255e78 include the likely cause of the error in the error message Chan Kang 2022-06-12 00:34:21 -0400
  • 8a0b8d46a3 return an error when Dialer.TLSClientConfig.NextProtos contains a protocol that is not http/1.1 Chan Kang 2022-06-12 00:08:04 -0400
  • 27d91a9be5 drop the versions of go that are no longer supported + add 1.18 to ci Chan Kang 2022-06-19 20:27:09 -0400
  • 9da53fe73d drop the versions of go that are no longer supported + add 1.18 to ci Chan Kang 2022-06-19 20:27:09 -0400
  • 5e20b27378
    Update config.yml Gary Burd 2022-06-19 13:01:07 -0700
  • 15f7a8c159
    Update CircleCi image Gary Burd 2022-06-19 12:52:45 -0700
  • 4bff829e54
    Update required versions in CircleCi config Gary Burd 2022-06-19 12:48:20 -0700
  • 6e2e2bad42 add WriteText() Alex41 2022-05-22 19:42:12 +0300
  • adb13885c2 Check error Sleeyax 2022-05-14 15:47:30 +0200
  • 502bd65db8 Add optional method ProxyTLSConnection (closes #779) Sleeyax 2022-05-12 16:53:57 +0200
  • 65ffbd0714
    remove old golang version U1F605 2022-05-02 00:23:34 +0800
  • 4534fac059
    Create test.yml U1F605 2022-05-01 23:49:31 +0800
  • 64118f37e3 replaced the deprecated ioutil package Norbert Klar 2022-04-27 13:34:03 +0200
  • 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 +0900
  • eeb877e8a1 chore: $ go mod -edit go1.13 hgsgtk 2022-04-13 19:31:40 +0900
  • 9413ded90f Changed the method name UnderlyingConn to NetConn to align the methods names with Go 1.18 standard library JWSong 2022-04-13 19:15:45 +0900
  • 1b193d7063 Remove deprecated io/ioutil package Vlad Petriv 2022-04-07 09:00:29 +0300
  • fda89eddc2 Remove deprecated io/ioutil package Vlad Petriv 2022-04-07 08:33:18 +0300
  • 444f3c080f
    gofmt Philip Hamer 2022-02-17 13:00:00 -0500
  • 9fb72e3db2
    Merge branch 'master' into tls-proxy-build Philip Hamer 2022-02-17 12:51:27 -0500
  • 69d0eb9187
    Add check for Sec-WebSocket-Key header (#752) Yuki Hirasawa 2022-02-16 10:15:20 +0900
  • 99ada6e89c fix #705 Remove writeDealine , use net/Conn SetWriteDeadline and handle error to user. KevinLin 2022-01-25 03:26:28 +0800
  • 5bbb1758c7 Add an example that uses the write buffer pool hakunaliu 2022-01-09 16:56:27 +0800
  • 187c6862b0 add testcase to Sec-WebSocket-Key header verification hirasawayuki 2022-01-03 16:15:38 +0900
  • 3ae5d9c844 add Sec-WebSocket-Key header verification hirasawayuki 2022-01-03 16:14:47 +0900
  • 9111bb834a
    Dialer: add optional method NetDialTLSContext (#746) v1.5.0 Lluis Campos 2022-01-04 02:59:52 +0100
  • 2f25f7843d
    Update README (#757) Gary Burd 2022-01-03 17:49:10 -0800
  • ff626fa6dc Update README Gary Burd 2022-01-03 17:40:54 -0800
  • 18650c5140 Dialer: add optional method NetDialTLSContext Lluis Campos 2021-12-10 10:46:09 +0100
  • 4fad403619
    Remove support for Go 1.8 Gary Burd 2022-01-02 15:53:55 -0800
  • ee1ca802aa Remove support for Go 1.8 Gary Burd 2022-01-02 15:50:50 -0800
  • f0643a3a18
    Improve protocol error messages Gary Burd 2022-01-02 12:16:08 -0800
  • e4972a8772 Improve protocol error messages Gary Burd 2022-01-02 11:59:10 -0800
  • f32c82a355 Merge remote-tracking branch 'upstream/master' Gary Burd 2022-01-02 11:57:24 -0800
  • 2d6ee4c55c
    Update autobahn example Gary Burd 2022-01-02 11:21:21 -0800
  • 3a0a4993bf
    Merge branch 'gorilla:master' into master Gary Burd 2022-01-02 11:19:03 -0800
  • 23c1bf4fa5 Update autobahn example Gary Burd 2022-01-02 11:16:03 -0800
  • beca1d3940
    Fix broadcast benchmarks (#542) Alexander Emelin 2022-01-02 18:35:34 +0300
  • bcef8431c9
    Use context.Context in TLS handshake (#751) Gary Burd 2022-01-01 08:43:22 -0800
  • f94edb336c Use context.Context in TLS handshake Gary Burd 2022-01-01 07:42:08 -0800
  • d67ffd5469
    Merge cde7c32826 into 2c89656910 Renato Aguiar 2021-12-27 00:32:25 +0100
  • 411304402f
    Merge 4fbd52ea52 into 2c89656910 Sanket Patel 2021-12-19 22:57:00 +0100
  • 2c89656910
    Modify http Method String Literal to Variable (#728) Rn 2021-12-20 01:21:45 +0900
  • 1905f7e442
    Update source to match output from gofmt 1.17 Gary Burd 2021-12-17 22:48:51 -0500
  • dd77892df7 Update to gofmt 1.17 Gary Burd 2021-12-17 15:44:50 -0500
  • ff44163727
    Update trace.go Gary Burd 2021-12-17 15:44:50 -0500
  • 5f2337b51b
    Update to latest gofmt Gary Burd 2021-12-17 15:43:52 -0500
  • 3f212af2de
    Update to latest gofmt Gary Burd 2021-12-17 15:42:38 -0500
  • b4b5d887ad
    Document the allowed concurrency on Upgrader and Dialer (#636) Gary Burd 2021-12-16 11:07:50 -0800
  • bb146cd3fd
    fix build error Philip Hamer 2021-12-06 18:52:57 -0500
  • b484a6e5a0
    try compatibility with pre 1.15 as noop Philip Hamer 2021-12-06 18:49:39 -0500
  • d16969baa1
    add unit test for https proxy Philip Hamer 2021-12-06 10:29:48 -0500
  • 2553869a29
    clean up comment Philip Hamer 2021-12-06 09:30:42 -0500
  • f724bd6a6c
    do not edit the generated x_net_proxy.go Philip Hamer 2021-12-03 15:59:00 -0500
  • 7f3a5bcae0
    make it more intuitive for tls proxy Philip Hamer 2021-11-29 14:49:47 -0500
  • 2a082eee69
    simplify proxying with tls proxy Philip Hamer 2021-11-29 14:19:00 -0500
  • d229c9f93d
    try https proxy Philip Hamer 2021-11-16 23:26:29 -0500
  • bb8ad5410b
    fixed to use context.Context in TLS handshake Kei Kamikawa 2021-10-18 17:29:41 +0900
  • 4f6f3cad23 Modify http Method String Literal to Variable thak1411 2021-10-07 18:19:26 +0900
  • 70f9095bcc
    Update client_clone.go Bastien 2021-08-12 18:50:06 +0200
  • a22302b7d9
    Update client_clone.go Bastien 2021-08-12 18:35:19 +0200
  • 37d883fb87 fix bug in example lirizhong 2021-06-11 10:12:28 +0800
  • 508efaa5a7
    improve examples / command: kill runned process lynxzp 2021-05-07 18:04:44 +0300
  • e8629af678
    improve echo example (#671) hellflame 2021-04-25 00:20:22 +0800
  • 009b3055b2 Include buffered data when returning underlying connection (#679) Igor Postelnik 2021-04-02 14:10:32 -0500
  • c60f6ca1c8 Fix leaky goroutine in case of Write error after server-side upgrade. Tsachi Herman 2021-03-25 14:21:41 -0400
  • 41d4eb09d6 improve echo example hellflame 2021-03-14 21:11:17 +0800
  • d48ec8d1be respect client preference order instead of server's for subprotocol negotiation Shivaram Lingamneni 2021-03-04 17:16:32 -0500
  • 9b1460ad67 add support for https proxy Nic Costa 2021-01-13 21:12:10 +0000
  • 0fcd523704 changing boolean to an empty struct Zamiell 2020-11-25 13:22:13 -0500
  • 3d56a52b4b Send message on timer step Alessandro Cappellini 2020-11-24 17:18:53 +0100
  • ff62cb3c7c Remove html from server Alessandro Cappellini 2020-11-24 17:17:58 +0100
  • 64c920f413 make SecWebsocketVersion const Terui Hiroya 2020-09-27 14:00:14 +0900
  • 7a96c3e081
    Document allowed concurrency on Upgrader TaylorRex 2020-09-26 20:22:54 -0700
  • e935d4c53d
    Document allowed concurrency on Dialer. TaylorRex 2020-09-26 20:21:29 -0700
  • 10efb70f87 Fix example scroll logic judgement bug li1234yun 2020-09-19 11:26:51 +0800
  • c3dd95aea9
    build: use build matrix; drop Go <= 1.10 (#629) Matt Silverlock 2020-09-12 12:32:13 -0700
  • 2367857465
    build: use build matrix; drop Go <= 1.10 Matt Silverlock 2020-09-12 12:22:28 -0700
  • d18f90cf8f
    Improve Documentation Ibraheem Ahmed 2020-09-12 13:08:38 -0400
  • 8b7305f5f5
    Merge branch 'master' into fix-issue-480 Allen 2020-09-11 11:48:00 +0800
  • aa46640059 fix issue #479 AllenX2018 2020-06-29 17:28:00 +0800
  • 78ab81e242
    docs: clarify that sub protocols are not set via responseHeader arg. Matt Silverlock 2020-08-22 14:03:32 -0700
  • b23a78e073
    Update server.go Matt Silverlock 2020-08-22 13:59:35 -0700
  • 873e67e4d5
    Fix how the client checks for presence of Upgrade: websocket, Connection: upgrade (#604) Ran Benita 2020-08-20 16:43:18 +0300
  • e8db66490a don't hardcode newline Ibraheem Ahmed 2020-08-06 17:45:04 -0400
  • 878d9ba932 update readme Ibraheem Ahmed 2020-08-06 17:38:46 -0400
  • 3b0a18fe0d move json marshalling to hub.go Ibraheem Ahmed 2020-08-06 17:37:20 -0400
  • fbe6868dcd json messages Ibraheem Ahmed 2020-08-06 16:55:22 -0400
  • bdf69870e6
    update log scrolling Ibraheem Ahmed 2020-08-06 16:23:48 -0400
  • 31a288bd5b update chat example appendLog newlines Ibraheem Ahmed 2020-08-06 15:57:03 -0400
  • 9cee5962ca update chat scrolling mechanics Ibraheem Ahmed 2020-08-06 14:52:59 -0400