Regarding problem in building webkit2

# Rajagopalan Gangadharan (2 days ago)

Hello, I am trying to build webkit for haiku and I stumbled upon an error The error is in “Source\WebKit\UIProcess\WebsiteData\WebsiteDataStore.cpp” line 2080 says about missing platformSetNetworkParameters function and I saw it was defined for CURL and SOUP only. Should I use the function defined under them or should I write it to be haiku specific(platform specific) if so what should be the contents of it. Thank you!

Contact us to advertise here
# Konstantin Tokarev (2 days ago)

25.02.2019, 14:06, "Rajagopalan Gangadharan" <g.raju2000 at gmail.com>:

Hello,

I am trying to build webkit for haiku and I stumbled upon an error

The error is in “Source\WebKit\UIProcess\WebsiteData\WebsiteDataStore.cpp” line 2080 says about missing platformSetNetworkParameters function and I saw it was defined for CURL and SOUP only. Should I use the function defined under them or should I write it to be haiku specific(platform specific) if so what should be the contents of it. Thank you!

It depends on how your network stack works. In order to reduce maintainance cost you should consider using network stack supported by upstream, i.e. soup or curl

# Don.Olmstead at sony.com (2 days ago)

We've put a large amount of work on the cURL networking layer and are continuing to improve it. It's used by both the WinCairo and PlayStation port so it works cross platform.

I'm not familiar with the stack on Haiku but it would require OpenSSL, we use LibreSSL in both, nghttp2 for HTTP/2, and libpsl for Public Suffix List support. You can also compile with brotli support as well for better compression over zlib.

# Adrien Destugues (2 days ago)

The Haiku ports uses its own implementation of HTTP, relying on the libraries provided in Haiku for that. We will probably not be switching back to curl.

However, we have used only WebKitLegacy so far so it is expected that some parts of our network backend will be missing (everything that was not used by WebKitLegacy).

Want more features?

Request early access to our private beta of readable email premium.