Mark Lentczner

Show:

What's happening?

  • Comment: uploads with chunked encoding broken if header specified

    Logged In: YES user_id=219202 a patch that fixes this issue is now attached. This patch might look like it does too much, but it doesn't. Once one fixes the heart of the bug (that the old code assumes, in one branch of the if, that any user supplied transfer- encoding header invalidates chunked, without checked if it is indeed chunked), then you can see that the whole structure...

    2006-08-02 02:26:36 UTC in curl and libcurl

  • Comment: uploads with chunked encoding broken if header specified

    Logged In: YES user_id=219202 You can easily reproduce the bug simply using command line curl: U=http://www.ozonehouse.com/mark/test-sl/foo2.pl echo bar | curl -T - -v $U echo bar | curl -T - -H 'Transfer-Encoding: chunked' -v $U (Note: the URL doesn't really matter, it just needs to be someplace that will accept chunked request bodies --the URL shown is on my server, you are free...

    2006-08-01 13:03:28 UTC in curl and libcurl

  • uploads with chunked encoding broken if header specified

    Consider this sequence: curl_easy_setopt(new_req->mCurlHandle, CURLOPT_UPLOAD, 1); headers = curl_slist_append(headers, "Transfer-Encoding: chunked"); curl_easy_setopt(mCurlHandle, CURLOPT_HTTPHEADER, headers); if curl_easy_setopt(new_req->mCurlHandle, CURLOPT_READFUNCTION, &myUploadCallback); // don't set CURLOPT_INFILESIZE This causes libCURL to...

    2006-07-31 16:11:13 UTC in curl and libcurl

  • Followup: RE: Maintenance status

    I is certainly true that there has been a lack of activity here for some time. I used ptypes extensively in my project, Wheat. And I gave back enough to the project that hovik added me to the developers list. I agree with most of what doughenry said. To spell out a possible plan in more detail: 1) replace string with std::string 2) replace the collection classes with STL versions, with...

    2006-07-24 12:10:05 UTC in C++ Portable Types Library (PTypes)

  • Wheat

    mark_lentczner committed patchset 695 of module r1 to the Wheat CVS repository, changing 3 files.

    2005-06-23 06:42:57 UTC in Wheat

  • absolute paths in XML storage

    When a tree is written to XML storage, and the tree has paths that are absolute in form, but refer into the tree, they should be written out as relative, but with a flag to absolutify them on read in. Absolute paths that are actually tree relative can occur in three places: prototype links, path objects and links. Prototype links are always absolute (as of 2005-06-03), as so don't...

    2005-06-03 23:48:33 UTC in Wheat

  • Wheat

    mark_lentczner committed patchset 693 of module r1 to the Wheat CVS repository, changing 1 files.

    2005-06-03 23:21:24 UTC in Wheat

  • Followup: RE: derived pt::message class usage?

    whoops, that should read if (!m) ...

    2005-04-27 20:05:24 UTC in C++ Portable Types Library (PTypes)

  • Followup: RE: derived pt::message class usage?

    The proper way to do this is with dynamic_cast: jqmessage* m = dynamic_cast<jqmessage*>(jq->getmessage()); if (m) { pout.putf("JQ received unrecognized message\n"); return; } pout.putf("JQ received req for SNMP NAME for IP %s\n", m->get_ip()); This is both safe and correct. jobqueue's getmessage() member returns a message*. There is no...

    2005-04-27 20:04:43 UTC in C++ Portable Types Library (PTypes)

  • Wheat

    mark_lentczner committed patchset 684 of module r1 to the Wheat CVS repository, changing 2 files.

    2005-04-15 17:38:42 UTC in Wheat

About Me

  • 2001-05-14 (9 years ago)
  • 219202
  • mark_lentczner (My Site)
  • Mark Lentczner

  • SQL-based C Java Perl PHP XSL (XSLT/XPath/XSL-FO) Object Oriented Networking

Send me a message