View Issue Details

IDProjectCategoryView StatusLast Update
0001454libmicrohttpdexternal APIpublic2009-02-20 11:26
Reporterepienbro Assigned ToChristian Grothoff  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.4.0 
Summary0001454: daemontest_long_header11 and daemontest_long_header testcases fail on 64bit environments
DescriptionHi,

I was just trying to update the Fedora package for libmicrohttpd to 0.4.0 and stumbled across two testcase failures which only occur on 64bit environments:

make check-TESTS
make[4]: Entering directory `/builddir/build/BUILD/libmicrohttpd-0.4.0/src/testcurl'
PASS: daemontest_get
PASS: daemontest_post
PASS: daemontest_postform
PASS: daemontest_post_loop
PASS: daemontest_put
PASS: daemontest_process_headers
PASS: daemontest_process_arguments
PASS: daemontest_parse_cookies
PASS: daemontest_large_put
PASS: daemontest_get11
PASS: daemontest_post11
PASS: daemontest_postform11
PASS: daemontest_post_loop11
PASS: daemontest_put11
PASS: daemontest_large_put11
Error (code: 8)
FAIL: daemontest_long_header
Error (code: 8)
FAIL: daemontest_long_header11
PASS: daemontest_get_chunked
PASS: daemontest_put_chunked
=========================================
2 of 19 tests failed
Please report to libmicrohttpd@gnunet.org
=========================================

The full logs can be found at http://koji.fedoraproject.org/koji/getfile?taskID=1125862&name=build.log
For the used package versions see http://koji.fedoraproject.org/koji/getfile?taskID=1125862&name=root.log
TagsNo tags attached.

Activities

Christian Grothoff

2009-02-13 22:09

manager   ~0003804

Could you check if changing the MHD_start_daemon calls in the testcases to

  d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ ,
                        1080,
                        &apc_all,
                        NULL,
                        &ahc_echo,
                        "GET",
                        MHD_OPTION_CONNECTION_MEMORY_LIMIT,
                        (size_t) VERY_LONG / 2, MHD_OPTION_END);


(the "size_t" cast is new) fixes it?

Thanks!

epienbro

2009-02-14 04:07

reporter   ~0003810

The extra cast fixes it :)
For the complete logs, see http://koji.fedoraproject.org/koji/taskinfo?taskID=1126374

Christian Grothoff

2009-02-14 09:27

manager   ~0003811

Good, fixed in hopefully all places in sVN 8236.

Issue History

Date Modified Username Field Change
2009-02-13 16:42 epienbro New Issue
2009-02-13 22:09 Christian Grothoff Note Added: 0003804
2009-02-13 22:10 Christian Grothoff Status new => feedback
2009-02-14 04:07 epienbro Note Added: 0003810
2009-02-14 09:27 Christian Grothoff Status feedback => resolved
2009-02-14 09:27 Christian Grothoff Resolution open => fixed
2009-02-14 09:27 Christian Grothoff Assigned To => Christian Grothoff
2009-02-14 09:27 Christian Grothoff Note Added: 0003811
2009-02-20 11:26 Christian Grothoff Status resolved => closed
2013-05-06 12:52 Christian Grothoff Category API => libmicrohttpd API
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd API => external API