CyTube/lib
Calvin Montgomery 3689aafe3b Fix all video adds getting stuck when one fails
Whenever a urlRetrieve() fails due to an unexpected error (ENOTFOUND, ETIMEDOUT, Socket hang up, etc.), the domain handler and the global exception handler would detect this and not crash the server, however the dirty internal state would somehow prevent future HTTP requests from completing successfully.

Removed domain usage since that feature is marked "unstable" and is rumored to be marked for deprecation in future versions of node.  Using the "error" event of the request object itself, which means errors are local in scope and won't pollute global state.  This should have been the solution originally, but when urlRetrieve() was written, I was not as familiar with node.
2014-12-26 10:39:47 -05:00
..
channel Change charset for certain fields to utf8mb4 2014-12-14 21:53:25 -05:00
database Add auto DB conversion for utf8mb4 2014-12-14 21:53:25 -05:00
io Fix kick behavior 2014-10-25 22:49:22 -05:00
web Don't log HTTP 413, just send it to the client and be done 2014-12-12 17:35:57 -06:00
account.js Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
acp.js Add IP cloaking; make tor bans channel specific 2014-08-14 21:42:13 -05:00
asyncqueue.js Use asyncqueue clientside too 2013-10-01 13:35:29 -05:00
bgtask.js Fix a few memory leaks; add /gc console command 2014-04-10 21:54:46 -05:00
config.js Fix caching and add gzip 2014-11-16 21:06:10 -06:00
customembed.js Fixes 2014-02-18 21:56:54 -06:00
database.js Change charset for certain fields to utf8mb4 2014-12-14 21:53:25 -05:00
emitter.js Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
ffmpeg.js Several fixes 2014-12-02 22:21:52 -06:00
filter-master.js Add a better error message for google drive 1hr 2014-11-13 20:08:01 -06:00
filter-worker.js Add a better error message for google drive 1hr 2014-11-13 20:08:01 -06:00
filter.js Move server files to lib/ to clean up root directory 2013-09-05 13:48:05 -05:00
flags.js Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
get-info.js Fix all video adds getting stuck when one fails 2014-12-26 10:39:47 -05:00
logger.js Finish password recovery 2014-02-01 13:03:08 -06:00
media.js Fix for google docs changing their video player: 2014-08-06 20:12:57 -07:00
nodefilterlist.js Don't log HTTP 413, just send it to the client and be done 2014-12-12 17:35:57 -06:00
poll.js Add XSS filter 2014-01-23 11:45:08 -06:00
server.js Fix caching and add gzip 2014-11-16 21:06:10 -06:00
tor.js Fix wrong scope on ipList 2014-08-14 21:45:25 -05:00
ullist.js Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
user.js Fix kick behavior 2014-10-25 22:49:22 -05:00
utilities.js Update cloaking function so the banlist looks right 2014-08-14 21:57:38 -05:00
xss.js Update XSS filter 2014-06-25 20:22:54 -07:00