aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/Lib/HTTPServerApp.c
AgeCommit message (Collapse)Author
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-09Use strcat() in the HTTPServer project instead of using strcpy() and strlen().Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1973 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-04Switch the HTTP Webserver project to use the safer strlcpy() instead of ↵Dean
strncpy() to save on manual null-termination. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1841 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-22Add RNDIS Device support to the Webserver project, so that the files stored ↵Dean
on the device can be viewed from a web-browser while the board is plugged into a host machine. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1759 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Spell check all source files once again to find any typos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1420 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-10Added ENABLE_TELNET_SERVER compile time option to the Webserver project to ↵Dean
disable the TELNET server if desired. Change over static strings in the Webserver project to use PROGMEM where possible. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1162 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-09Webserver project now uses the board LEDs to indicate the current IP ↵Dean
configuration state. Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1160 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-19Commit for the 100219 release.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1137 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-18Use a temporary variable to hold the current URI length in the Webserver, ↵Dean
rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1136 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-18Add uIP-split code to the Webserver project, so that each packet is split in ↵Dean
half to avoid the delayed-ACK problem when communicating with other devices. Condense HTTP server code, so that the HTTP headers are all sent from the one state. Make default filename append to any directory URI, rather than just the root directory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1134 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-12Speed up Webserver demo data rate by not sending a full ethernet frame each ↵Dean
time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1127 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-12Move DHCP negotiation timer into the DHCP connection application state ↵Dean
structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1126 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-09Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean
report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1120 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-04New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean
will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1110 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Fix TELNET server locking up if an invalid command was issued.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1108 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Disable uIP connection polling for now - this seems to corrupt the buffers.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1107 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Add a TELNET server to the webserver project, which currently can list ↵Dean
active TCP connections. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1106 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-03Exclude FATFs from the Webserver project documentation. Rename the functions ↵Dean
in the HTTPServerApp.c/.h files so that they use the correct "HTTPServerApp_" prefix, and not "Webserver_". git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1104 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Replace the Webserver demo's uIP with the latest code ripped from the ↵Dean
Contiki project by Adam Dunkels. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1100 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-02Make TPI programming protocol program in words, not bytes to satisfy the ↵Dean
datasheet conditions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1095 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-01Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction ↵Dean
into account. Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1089 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-31Clean up HTTP webserver code in the Webserver project, so that it follows ↵Dean
the uIP application structure guidelines and uses cleaner state machine based code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1088 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-31Better HTTP GET parsing in the Webserver demo, add application polling.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1085 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-29Add TCP retransmission support to the HTTP webserver in the Webserver ↵Dean
project, so that lost segments are retransmitted as needed. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1084 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-29Add MIME type handling to the Webserver project, so that files of different ↵Dean
types (e.g. images) can be served out to HTTP clients. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1080 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-28Add FatFS library to the Webserver project, extend the HTTP server so that ↵Dean
it now serves files from the Dataflash. Add Mass Storage device mode class driver so that files can be loaded to the board Dataflash when inserted into a PC. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1074 d5102386-fcda-11dd-9fdb-3debd5008f28