search for: cookie_buf

Displaying 4 results from an estimated 4 matches for "cookie_buf".

2013 Nov 21
0
Baking Cookies
...LINUX_PXE_API_H */ --- syslinux-6.02/core/fs/pxe/http.c 2013-10-13 13:59:03.000000000 -0400 +++ syslinux-6.02-changed/core/fs/pxe/http.c 2013-11-21 17:18:40.026705000 -0500 @@ -121,7 +121,7 @@ return n; } -void http_bake_cookies(void) +__export void http_bake_cookies(void) { if (cookie_buf) free(cookie_buf); -----Original Message----- From: Syslinux [mailto:syslinux-bounces at zytor.com] On Behalf Of Santillanes, Russel [Tech] Sent: Thursday, November 21, 2013 12:42 AM To: 'For discussion of Syslinux and tftp-hpa' Cc: 'H. Peter Anvin' Subject: Re: [syslinux...
2013 Nov 21
2
Baking Cookies
Hmm... well adding the __export stopped the "undefined symbol" error from showing up when I add "SENDCOOKIES" in the config, however I'm still not seeing any cookies being sent to my webserver. Any ideas on how to further debug? (if you want to send me the debug compile options privately that's okay too) -----Original Message----- From: H. Peter Anvin [mailto:hpa at
2015 Feb 10
0
[PATCH 2/6] pxe: fix truncation warning
...insertion(+), 1 deletion(-) diff --git a/core/fs/pxe/http.c b/core/fs/pxe/http.c index 0768c10..bd18f3c 100644 --- a/core/fs/pxe/http.c +++ b/core/fs/pxe/http.c @@ -50,7 +50,7 @@ static bool append_ch(char *str, size_t size, size_t *pos, int ch) static size_t cookie_len, header_len; static char *cookie_buf, *header_buf; -__export uint32_t SendCookies = -1UL; /* Send all cookies */ +__export uint32_t SendCookies = UINT_MAX; /* Send all cookies */ static size_t http_do_bake_cookies(char *q) { -- 2.3.0
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings. Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f Jonathan Boeing (6): Use z width specifier when printing size_t variable pxe: fix truncation warning gpllib: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse hdt: fix sizeof(char *) misuse com32/gpllib/dmi/dmi.c | 24 +++---