Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/panjf2000/gnet

πŸš€ gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet ζ˜―δΈ€δΈͺι«˜ζ€§θƒ½γ€θ½»ι‡ηΊ§γ€ιžι˜»ε‘žηš„δΊ‹δ»Άι©±εŠ¨ Go η½‘η»œζ‘†ζžΆγ€‚
https://github.com/panjf2000/gnet

chore: update the Github workflow

6413de9d50ad5dee31fddd50a61b86ea974ffcc7 authored about 2 years ago
chore: update the issue templates

1418ec96124df2457ad8b0107bf267b67e67b4d3 authored about 2 years ago
ci: refine the Github action workflows

caa53c30062cff04eb49bf7fa1333abad6277cbc authored about 2 years ago
chore: fix the lint issue

5b91134a4b9d035bf557e7a1f5a7648e2755d4ce authored about 2 years ago
ci: improve the Github actions

d6ad99721e0118cf85899160a857625e10cce3bf authored about 2 years ago
test: increase the test code coverage with client

71494b70376c529044f8a4ed7b43a607514bca5c authored about 2 years ago
chore: rename the internal serve() to run()

14f98ae14b1fa508548ca56acbf17b3a24060e38 authored about 2 years ago
chore: fix some typos

5010288682a854dfc06856f76b851c692cb54afb authored about 2 years ago
feat: add multicast UDP listener support (#412)

ad9986e4145eb2dde95001a7895f86c008a6f58e authored about 2 years ago
chore: add nil check for all methods of gnet.Engine

7fbdc535c4263feaff566d486c696d137e65fb87 authored about 2 years ago
allow creation of multiple engines on the same protocol and port (#419)

Co-authored-by: Jeffrey Damick <[email protected]>

9d7fdd2dcba260c4b21b895fc5291b002620e93f authored about 2 years ago
chore: update the roadmap

20ff40b94025c9526cc16c200c46126465c35e1c authored over 2 years ago
chore: refine BuiltinEventEngine

0b7fec8f9c2da319d7db8aa7c24388f6a20efceb authored over 2 years ago
opt: redefine AsyncCallback, pass in the error message

Note: this is a breaking change, the existing codebase using AsyncCallback must be updated accor...

691e07747d11e3be90fb3b2996deb19448aa1e0e authored over 2 years ago
chore: add some declarations about Github issues

3705a09a38f65b8b285d3951b857f304713ad1b3 authored over 2 years ago
bug: fix the issue failing to listen on 0.0.0.0 on linux/arm64

Fixes #392

c9eeca1ee0a2d4cce1702d6c529f523fd3786e43 authored over 2 years ago
bug: return io.EOF in Read(), comply with io.Reader and io.Writer

Fixes #391

3c3c519b8c57e750231db3d191e7257b5a3cf51d authored over 2 years ago
bug: fix the compile error on linux/mips

f2e2fa31adc7694bc45b62aec261ccbe6d77819f authored over 2 years ago
opt: fieldalignment, optimization from 144 to 104 byte

f70489f555c7f627fcd268907f316dd02425da61 authored over 2 years ago
bug: bind socket only when it's in passive mode (#373)

2ae824a1630284c3a5f7bf5c30f4bcf36a8655a1 authored over 2 years ago
feat: implement a new API to convert and add net.Conn into gnet.Client

Fixes #362

c296922d171e64bcd0a97b1bf7eeb7adc747dad6 authored over 2 years ago
opt: put the bytes of net.Addr.Zone back to pool when connection is closed

Fixes #364

50406b34552ef6fb86795a9ee6c0e54ad71ae322 authored over 2 years ago
chore: fix some wrong comments

8d921f9f78edd772737d65beb79e0434b049c030 authored almost 3 years ago
chore: bump up golangci-lint to v1.45 for Github Actions

c3dd64a0e8bc5c7b2809b299756809c568742efe authored almost 3 years ago
bug: fix the issue of discarding bytes in buffer mistakenly in Conn.Read()

Fixes #355

02820252e2e2a74ece265379386441dd1d4df2d9 authored almost 3 years ago
opt: implement Close() for gnet.Conn to make it compatible with net.Conn (#348)

Co-authored-by: 0-haha <[email protected]>

4195bd1aece515d02f4fb0de65966f498294fc12 authored almost 3 years ago
chore: refine eventloop.read(*conn)

86b3499b552029a84e9ee7307a82f419990009f6 authored almost 3 years ago
chore: refine the Conn.WriteTo()

b1eb3e85b3b0a32beb88e0e0d73a245e205e0800 authored almost 3 years ago
bug: set the correct number of bytes written by conn.WriteTo() (#344)

Fixes #343

Co-authored-by: hujiaming.0927 <[email protected]>

c9605fcbd028ce1c3c1015732d814223d7605316 authored almost 3 years ago
opt: reduce the memory allocation when a connection is idle

27667f3caad72fed296f86a2a5f624253ce01a56 authored almost 3 years ago
chore: update READMEs

9b54af63a7efe9caf46cf536f6d9531916b9cd24 authored almost 3 years ago
chore: update some issue templates

bc35093f46df7e427936e4c566365e2d8dc7e733 authored almost 3 years ago
opt: avoid the long hanging when the peer crashes

Fixes #341

c138ac53b732540dcff6364d12823f5b6a8f10a8 authored almost 3 years ago
chore: print logs when UrgentTrigger() returns error

da518d67d8af8b3fc669188795b11cb119d89aba authored almost 3 years ago
opt: refine the logic of eventfd in poller

38aa2e0a03ca438c91100c16029ee0b7e6859c07 authored almost 3 years ago
chore: rename a variable in pollers

a22af332f9e9ac54006076f0a70d59483c96b232 authored almost 3 years ago
chore: update READMEs

9f227b5d80b7345d13264fd46ea938d98435f146 authored almost 3 years ago
chore: update READMEs

eecbb26f28d5fa3464a27f845f8d94df32dfd8c2 authored almost 3 years ago
chore: relayout some sections in READMEs

55a9e80b60cfd333fd50750ca0fbb9402b940c27 authored almost 3 years ago
chore: renew some links and descriptions for v2

a36729855c9f6399860f67135608cdfc7ca6fd0a authored almost 3 years ago
mod: update dependencies

fc91d13fbe0fd3fca358701972ed4a9b966f8f9e authored almost 3 years ago
chore: increase the code coverage

a74f506f6e313a6a1e21ceeaadbb15b446da47fd authored almost 3 years ago
feat: support setting the maximum size of static outbound buffer

181323987b78e0121ba816daa0056f35a61ecc92 authored almost 3 years ago
opt: make ring-buffer in outbound buffer static

e02e5646ae2f2731724a6f34ff21a5149d842eac authored almost 3 years ago
opt: share the temporary buffer among connections in one eventloop

e598f6c4a784e915797496177f7e07140cfcc67c authored almost 3 years ago
chore: add some comments for APIs and rename functions

d5098f93d59544a5c93fdd0e848c52dfd758ce8f authored almost 3 years ago
chore: fix a typo in the template of pull request (#324)

446370b4764140b39d99ee5b5664e3630e979283 authored almost 3 years ago
opt: send as much data as possible

2ae2d5b4d301c269332c03bbb5f68811d48e57e4 authored almost 3 years ago
opt: replace custom byte-buffer with byte slice in connection

71801dba3455cf0fcb46089a02ba7d8d621e5cdf authored almost 3 years ago
chore: eliminate some useless methods from ring-buffer

0e0b55a1228ddc3cc1127d95e0ba2d1aeb074cac authored almost 3 years ago
chore: use HTTP instead of HTTPS since Camo doesn't support SNI

45ff7c006e1412e85f029aff882ee9040fb95691 authored almost 3 years ago
fix: pad the leading zero bytes for ipv4 in ipv6 addresses

Fixes #319

dab20e2a4147c4441a95b027f87874cc8948dd28 authored about 3 years ago
opt: replace the buffer pool with byte slice pool in linked-list buffer

3631fa273df07a010998dc56d35289d5329fc987 authored about 3 years ago
opt: remove the code that sends multiple UDP messages

90ac45ddc163e237c39ac0a29651b9c83303f252 authored about 3 years ago
chore: remove unused methods from ring-buffer pool

743b830a83b8a4f0ca24be48c610ed5ad34fcf40 authored about 3 years ago
chore: return empty bytes and error when user asks overmuch data

23a922127a402f0b82f79804eade8d8d8df5b594 authored about 3 years ago
chore: make some trivial changes

91f7b447a368933335304aaee987ed9c092289a5 authored about 3 years ago
feat: add more APIs to manipulate the underlying file descriptor of a connection

e4a84c7464a286daf11e81616615b2772af1b38e authored about 3 years ago
feat: support for setting callbacks when calling asynchronous APIs

139098f277eb12d58b09b2cdd25aca04f284af3a authored about 3 years ago
opt: digest more events per loop

8b8497752da3adb6620355082ff3923a033ba19d authored about 3 years ago
opt: pass the ECONNRESET error to gnet.OnClose() when the peer closes connection

Fixes #256

56b59221ab0b9de2da8e858d523fe67c006eecad authored about 3 years ago
chore: rename some source files

491f0f2d7b5707515d59b648f821ad308afe3dad authored about 3 years ago
chore: eliminate the check for connection in event-loop

160d6e4cd5ec19c8591eb5087f06b0b0b04e8b4b authored about 3 years ago
Revert "bug: prevent closing socket when reading zero bytes"

This reverts commit e6fa0f85015e14a2544079dfc010b60e7487fa35.

8670fe6949311edd0feb54d087833789ab23cb46 authored about 3 years ago
bug: prevent closing socket when reading zero bytes

e6fa0f85015e14a2544079dfc010b60e7487fa35 authored about 3 years ago
opt: verify byte slice before elastic-ring-buffer writes

383ceb17936d1ec2715543dd9d08c245ba1f4620 authored about 3 years ago
opt: eliminate the useless []byte slice in gnet.conn

acaefc0f7590feb8b7af82f6fb25a48170208a76 authored about 3 years ago
chore: update comments

2bd5f740ac5e93a83a14faf79ae30942d3e8e51a authored about 3 years ago
chore: refine the test code

f65b80fb77659bfddbd77b50f972bc6adc77e35e authored about 3 years ago
chore: update some comments

04a5865b531d9a0025cb3b65c6cdc527d9aeca13 authored about 3 years ago
bug: set it to math.MaxInt32 when trying to peek a negative number of bytes

3d76b4073c2fd2a09eed976a9e49dc2c3d5b7a4f authored about 3 years ago
opt: check if ring-buffer is adequate before involving with linked-list-buffer in Peek()

9b75f04bf041ad4eb08d7d92a073ff34501d2f51 authored about 3 years ago
opt: create a ring-buffer only when there is data to write in elastic buffer

6672674c1971abc6b24b1353292d4fe53c3f750c authored about 3 years ago
chore: remove the redundant package

8e925f32be863f34d65386fd976f46d27fdfb6a7 authored about 3 years ago
chore: update go modules

19562e0ed17a8339f17d751b0539f955f7b92e48 authored about 3 years ago
opt: leverage the elastic ring-buffer to reduce memory usage of each connection

8c8856dfc6ae3c00893c3774118383e3535bcf7b authored about 3 years ago
chore: fix a typo

2fc5cc82d38eb81e5a1050e8219839219ff453d9 authored about 3 years ago
chore: improve the structure of buffers

d8cb36233c49cba8468b3b63c21bea24f498b01d authored about 3 years ago
opt: check if outbound buffer is empty before actually flushing data

84b5a6bf778a4023d46da82dbcc18bf6cd64565f authored about 3 years ago
chore: rename the entry function from Serve() to Run()

84ed881a534ccf57b4927f0cf35cf06841ceff1b authored about 3 years ago
chore: remove useless Github action configs

0a1c2ec8f0fadd355047d08b3ef56d10ddeda009 authored about 3 years ago
bug: fix the ineffectual TCP_NODELAY option in client (#315)

57af8542099ef1b7131e3ad5bce280137050e5a0 authored about 3 years ago
chore: eliminate the new method from go1.17

693218334de828a6dc7a14d57770d3f12aa4027c authored about 3 years ago
chore: resolve lint issues

7e97605d0b780bf9c695bc868d93e0eb66d7471e authored about 3 years ago
chore: update Github action configs to run v2

7b3345166f55ff137c01c78f563f4d0521e98f85 authored about 3 years ago
doc: update README's for v2

c568c499fa0dcf88a3a46139fc3ac398216500bf authored about 3 years ago
opt: remove the support for Windows

Currently the Windows version is only used for the development and debugging phase and is not us...

a5621d66adc3dfee0a191e6a7533079d4f03e3ab authored about 3 years ago
test: add more unit tests

c7840e0e0c50bb21e03e2687df4b957b965e262c authored about 3 years ago
test: add a more complicated test case of encoding and decoding

07c95c3fb49cb00610abf28853b4d637ff996ac9 authored about 3 years ago
mod: rename the go module path for v2

4eb86673ffd77370e65407fd2840dea2afc2a27c authored about 3 years ago
chore: standardize code

ce7928b31be0c50b3376aaf3ab76036c89923e59 authored about 3 years ago
bug: resolve the data race issue

b49e66060c9b1312764ae10f285e75fbb239654f authored about 3 years ago
chore: ignore some generated dir and files

a5028f2d6ab34b5298edc10fffe03b4aa3d9ffdd authored about 3 years ago
opt: refactor the buffer of connection and processing mode

4d400824adac5896194f9a94b06295c89b3af1b2 authored about 3 years ago
chore: rename the list-buffer to linked-list-buffer

7f80b63c1d09f27b58ab6145e05343a5361caf7c authored about 3 years ago
opt: deprecate the codec

928d1dd68cdb3b4fff02c7714359566be523dee3 authored about 3 years ago
opt: put the static buffer back to pool to reduce more memory usages

d4e9a06abac792bb3dd6da87056076ddf19acfff authored about 3 years ago
chore: change the logging level from error to warn when closing connnections

9f701f3b9c8e8c4a08735087e0c523fb15e49b92 authored about 3 years ago
chore: fix some typos (#308)

6fa4c608b4944c18ae0cdc8eb022009c29846274 authored about 3 years ago
opt: reduce the memory usage of connection by making lazy allocations

Fixes #306

2110d2eb56138c0ec20122bfe748c1ae5b299088 authored about 3 years ago