Browse Source

fixed bug in keep-alive check arised by implementation if #10

master
Georg Hopp 14 years ago
parent
commit
fc4fd8f66d
  1. 12
      ChangeLog
  2. 2
      src/http/message/has_keep_alive.c

12
ChangeLog

@ -1,10 +1,18 @@
2012-02-22 09:03:40 +0100 Georg Hopp
* fixed bug in keep-alive check arised by implementation if #10 (HEAD, master)
2012-02-22 08:51:05 +0100 Georg Hopp
* add forgotten jquery assets (origin/master, origin/HEAD)
2012-02-22 08:48:43 +0100 Georg Hopp
* closes #10: values for header ids are now stored in a char ** making multiple values for one id possible. Additionally added a jquery action that delivers the jquery java script and use it on the me action (HEAD, master)
* closes #10: values for header ids are now stored in a char ** making multiple values for one id possible. Additionally added a jquery action that delivers the jquery java script and use it on the me action
2012-02-21 13:01:38 +0100 Georg Hopp
* now when a constructor returns -1 the new call will in turn call the destructor effectively freeing all resources. ATTENTION: now the destructor has to be aware that it might be called with a not completely initialized object. To make this more ease there is the FREE makro with the corresponding ffree that does NULL pointer checking and the destructor checks for NULL pointer too. Additionally the handle_accept now handles _SC_OPEN_MAX - 10 connections. The 10 are reserved for internal usage. (origin/master, origin/HEAD)
* now when a constructor returns -1 the new call will in turn call the destructor effectively freeing all resources. ATTENTION: now the destructor has to be aware that it might be called with a not completely initialized object. To make this more ease there is the FREE makro with the corresponding ffree that does NULL pointer checking and the destructor checks for NULL pointer too. Additionally the handle_accept now handles _SC_OPEN_MAX - 10 connections. The 10 are reserved for internal usage.
2012-02-21 09:45:01 +0100 Georg Hopp

2
src/http/message/has_keep_alive.c

@ -45,7 +45,7 @@ httpMessageHasKeepAlive(HttpMessage message)
*con = tolower(*con);
}
if (0 == strcmp(con, "keep-alive")) {
if (0 == strcmp((header->value)[0], "keep-alive")) {
return 1;
}

Loading…
Cancel
Save