Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[PATCH multi-env] remove size() functions, empty string on n==0, apreq_fwri: msg#00038

apache.apreq

Subject: [PATCH multi-env] remove size() functions, empty string on n==0, apreq_fwritev() rewrite

04-remove_size_functions.patch
- remove apreq_param_size() and apreq_cookie_size()

05-remove_empty_string_on_n_eq_0.patch
- make apreq_join() and apreq_params_as_string() return an empty
string on n==0

06-rewrite_fwritev.patch
- rewrite apreq_fwritev()
- no recursion; while(1) instead.
- optimization: eliminate one loop checking the whole iovec array
- check for endless loop (len == 0)

please review the last patch very carefully, because I havn't tested
that (writing a test for apreq_brigade_fwrite() is on my TODO list).

Another remark: error.c checks the apr_strerror() value for
APR_EGENERAL. A message for that was not implemented until httpd 2.1,
i.e. the test fails with httpd 2.0.53.

Max

Attachment: 04-remove_size_functions.patch
Description: Text document

Attachment: 05-remove_empty_string_on_n_eq_0.patch
Description: Text document

Attachment: 06-rewrite_fwritev.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation