LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2009, 06:46 AM   #1
aryan1
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 16
Question C++ http parser for Linux


Hi,

I need a free http parser written in C++ to parse request and respond lines, headers and body fields.

I did some research on the web, but could not come across a "totally free" and fully-functional HTTP parser.

Do you know any such libraries to suggest ?

Thanks.
 
Old 09-16-2009, 02:50 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Unfortunately the Apache libraries such as httpcore are pretty much Java oriented.

There is a basic C++ http library called HappyHTTP.

For a more sophisticated library, try libcurl. It has C++ bindings (amongst others), and the license is MIT/X.

If you end up building your own, perhaps you could use the asio library from boost for the underlying network code.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
anyone knows a config file parser (Linux/c/c++) Thinking Programming 2 07-28-2005 07:55 AM
generic parser to read/write linux config files amitchandel Linux - Software 1 06-14-2004 04:00 PM
xml parser in linux shilpig Programming 1 05-13-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration