View Issue Details

IDProjectCategoryView StatusLast Update
0001454libmicrohttpdexternal APIpublic2009-02-20 10:26
Reporterepienbro Assigned ToChristian Grothoff Due Date
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 21: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 03: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 08:27

manager   ~0003811

Good, fixed in hopefully all places in sVN 8236.

Issue History

Date ModifiedUsernameFieldChange
2009-02-13 15:42epienbroNew Issue
2009-02-13 21:09Christian GrothoffNote Added: 0003804
2009-02-13 21:10Christian GrothoffStatusnew => feedback
2009-02-14 03:07epienbroNote Added: 0003810
2009-02-14 08:27Christian GrothoffStatusfeedback => resolved
2009-02-14 08:27Christian GrothoffResolutionopen => fixed
2009-02-14 08:27Christian GrothoffAssigned To => Christian Grothoff
2009-02-14 08:27Christian GrothoffNote Added: 0003811
2009-02-20 10:26Christian GrothoffStatusresolved => closed
2013-05-06 10:52Christian GrothoffCategoryAPI => libmicrohttpd API
2024-01-21 12:24Christian GrothoffCategorylibmicrohttpd API => external API