summaryrefslogtreecommitdiff
path: root/scan_urlencoded_query.c
AgeCommit message (Collapse)Author
2009-01-26Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table.erdgeist
2009-01-19Limit comparison of strings to the length of the shorter stringerdgeist
2009-01-16Fix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate correct size for debugbuffer. Expect exact values on find keywords, not ↵erdgeist
only prefix match.
2009-01-14fix parsererdgeist
2009-01-13V6erdgeist
2009-01-05* http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are ↵erdgeist
considered to be thread safe. * the new workstruct also introduces a well defined buffer and result passing path * a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs * this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables * I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares * got rid of UTORRENT_1600_WORKAROUND * livesync_ticker is now only called from one (currently main) thread to avoid race conditions
2008-12-05Tidy up unnecessary includeserdgeist
2008-10-28Whitespace fixeserdgeist
2008-10-04added live sync codeerdgeist
added a config file parser added tracker id changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE added an option to switch off fullscrapes cleaned up many internal hardcoded values, like PROTO_FLAG,
2007-12-20Introduce some kind of versioningerdgeist
2007-12-17Add documentation to our uri scannererdgeist
2007-10-23I accidently put space on the list of non-terminating characters...erdgeist
2007-10-23some clients chose to accidently send negative numwantserdgeist
2007-10-23Be really relaxed now about what to accept in values...erdgeist
2007-10-23Allow @ in values. This seems to fix some clientserdgeist
2007-10-23Allow = in values. This seems to fix some clientserdgeist
2007-10-18Save a lot of work when skipping through uninteresting http request parameterserdgeist
2007-10-18Make fromhex() even fastererdgeist
2007-10-18fixed one performance bug, where "skipping values from a &param=values pair" was requested, the requestor ended up with "values" to be parsed again.erdgeist
improved performance of fromhex improved performance of is_unreserved() by moving it all into a simple byte array improved performance of %41 => 'A' conversion by reordering variables
2007-04-03New Makefile, incorporated some patches sent to me by Robin H. Johnsonerdgeist
2007-03-03Some clients even send plain : in their requestserdgeist
2007-01-31Use signed size_t wherever appropriateerdgeist
2007-01-27account downloaded before early returnserdgeist
2007-01-24Allowing more relaxed parsing of querieserdgeist
2007-01-24Do not write, if no string is passederdgeist
2007-01-24support for questionmark in URL behind the initial onedenis
2007-01-22Now allow * in torrentserdgeist
2007-01-11Documentation improved, some reindenting (again), variable types checked, unnecessary defines removederdgeist
2007-01-05README\!erdgeist
2007-01-03Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer ↵erdgeist
-> this may remove peer already and must be done anyway.
2006-12-14Now actually seems to work for the most partserdgeist
Added scraping Added graceful disconnect
2006-12-09Fixed parsererdgeist
2006-12-08Some syntax errors removederdgeist
2006-12-08Our scanner routine for the URI query stringerdgeist