Some more info:

$ g++ -DDUMP_MIME_DATA=1 -g -o demo ./libs/mime/example/basic_parsing.cpp
$ ./demo demo.mime
**********************************
->parse_mime
->read_headers
******Headers*******
Content-Type:  multipart/related; type=application/pdf;
boundary=demo.bug.cpp-netlib

******Headers*******
<-read_headers
->parse_content_type
<-parse_content_type
->parse_content_type
<-parse_content_type
Content-Type: multipart/related
retVal->get_part_kind () = 1
->get_boundary
->get_ct_value
->parse_content_type
<-parse_content_type
terminate called after throwing an instance of 'std::runtime_error'
  what():  Couldn't find Content-Type phrase (boundary)
[1]    1427 abort      ./demo demo.mime


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

  • Bug#730542: Mathieu Malaterre
    • Bug#730542: Mathieu Malaterre

Reply via email to