Con Kolivas
|
d6c57c0817
|
Do not check for thread shutdown on every pass through the connector
|
10 years ago |
Con Kolivas
|
e64db6bb40
|
Fix memleak on each reject reason message
|
10 years ago |
Con Kolivas
|
94f6236d3c
|
Optimise json malloc strategy to minimise memory allocations and avoid unnecessary strdups
|
10 years ago |
Con Kolivas
|
b23dbab1a1
|
Use a doubly linked list for dead clients in the connector for O(1) removal
|
10 years ago |
Con Kolivas
|
3c3621cc43
|
Use delete_init on the DL lists used in stratifier for thoroughness
|
10 years ago |
Con Kolivas
|
49266178e5
|
Add a DL_DELETE_INIT to delete items from a DL list and NULL the prev/next pointers
|
10 years ago |
Con Kolivas
|
0f9e594dba
|
Change dead instance linked list to doubly linked for O(1) removal
|
10 years ago |
kanoi
|
55595f3855
|
ckdb/php - put the pool block # in the web block information
|
10 years ago |
kanoi
|
73cc2eb405
|
ckdb - breakdown() allow zero length string values
|
10 years ago |
kanoi
|
373bf7749f
|
ckdb - report reload total lines per second
|
10 years ago |
Con Kolivas
|
8ec6f3ce11
|
Add ckmsgq stats to stratifierstats.
|
10 years ago |
kanoi
|
9aa281539d
|
ckdb - direct code a json decode replacement for breakdown()
|
10 years ago |
Con Kolivas
|
a44d00bf43
|
Maintain a count of messages used in ckmsgq
|
10 years ago |
Con Kolivas
|
b188ec8a9c
|
Add share stats to stratifierstats
|
10 years ago |
Con Kolivas
|
0e5c5af1e6
|
Create basic stratifier stats reporting on command
|
10 years ago |
Con Kolivas
|
cced9e43b2
|
Add a helper function to libckpool for setting a json object
|
10 years ago |
Con Kolivas
|
39fcdb8848
|
Change stratifier disconnect/drop message to not appear to be the server doing the disconnecting
|
10 years ago |
ckolivas
|
3bce852a28
|
Null the source pointer that calls jsonp_free generically as a sanity precaution.
|
10 years ago |
Con Kolivas
|
c317588c6d
|
Change ckdb userstats to update every minute instead of every 10 minutes
|
10 years ago |
kanoi
|
b92f78884b
|
ckdb - fix unused variable warnings
|
10 years ago |
kanoi
|
a111f51dda
|
ckdb - dont store user/workerstats in the DB and only the last one per worker in RAM
|
10 years ago |
Con Kolivas
|
0bd96f22e6
|
Don't queue workerstats while ckdb is offline
|
10 years ago |
Con Kolivas
|
1624d527b9
|
Use a portable boolean to tell us when ckdb is offline and change it under lock
|
10 years ago |
Con Kolivas
|
e11cb5c57e
|
Drop clients that are holding a reference count only after they've dropped it
|
10 years ago |
Con Kolivas
|
c68b30c08e
|
Grab the caller of dec_instance_ref for debugging
|
10 years ago |
Con Kolivas
|
e0528a5fb2
|
Add error message if ref count drops below zero
|
10 years ago |
Con Kolivas
|
83455ef06c
|
Fix minor memleak in send_recv_auth
|
10 years ago |
Con Kolivas
|
ee58990b05
|
Generically dealloc instead of freeing share pointer in purge_share_hashtable
|
10 years ago |
Con Kolivas
|
a72510df7f
|
Only ask the stratifier to drop a client once
|
10 years ago |
Con Kolivas
|
01ce6a65a0
|
Revert wrongly implicated linked list freeing workaround
|
10 years ago |
Con Kolivas
|
e009db5dc5
|
Add information when disconnecting a client
|
10 years ago |
Con Kolivas
|
435dc5318a
|
Decrease verbosity of invalid char being passed to validate_address
|
10 years ago |
Con Kolivas
|
f34516bd4d
|
Free buffer used for authorisation message
|
10 years ago |
Con Kolivas
|
f11250dd2d
|
Do not move clients from hash/linked lists while they hold a ref count
|
10 years ago |
Con Kolivas
|
b7186cfcd9
|
Use cached instance variable
|
10 years ago |
Con Kolivas
|
bb8593bfa0
|
Take the same attendant precautions when deleting passthrough client ram as regular clients by adding them to the dead list
|
10 years ago |
Con Kolivas
|
712d5c38d6
|
Make sure a passthrough client is still in the hash table before deleting it
|
10 years ago |
Con Kolivas
|
3a40311ece
|
Passthrough clients should be rare so increase verbosity of them being added
|
10 years ago |
Con Kolivas
|
d6d81093be
|
Fix impossible warnings in drop_client
|
10 years ago |
Con Kolivas
|
827f42ba73
|
Fix impossible >= UNIX_PATH_MAX warning
|
10 years ago |
Con Kolivas
|
cc0d188573
|
Fix impossible len >= UNIX_PATH_MAX warning
|
10 years ago |
Con Kolivas
|
ff01a1c414
|
Fix impossible sockd < 1 scenario
|
10 years ago |
Con Kolivas
|
09c7086808
|
Fix impossible patch -p1 -i crap.patch warning in bind_socket
|
10 years ago |
Con Kolivas
|
9d06777724
|
Do not attempt to decref a freed passthrough client
|
10 years ago |
Con Kolivas
|
b97132dde3
|
Zero wb->logdir even if we don't write to the share log since we still use the value of it
|
10 years ago |
Con Kolivas
|
9892f3af64
|
Use validhex before checking sessionid in disconnected_sessionid_exists to avoid spewing warnings for client errors
|
10 years ago |
Con Kolivas
|
e5b9e84129
|
Add a helper function to check a hex string is valid
|
10 years ago |
Con Kolivas
|
bf1ac3b57b
|
Age disconnected instances over 10 minutes old to the dead list to be reaped
|
10 years ago |
Con Kolivas
|
259f8ca4a0
|
Use invalidate in the connector when dropping a client to ensure the stratifier drops it as well
Conflicts:
src/connector.c
|
10 years ago |
Con Kolivas
|
b5f65d2e5a
|
Tell the stratifier to drop a client if the connector is told to drop it and cannot find it any more
|
10 years ago |