Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2023
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | Software | 0 0
  1. [26 of 34] Compiling Network.Wai.Handler.Warp.HTTP2.PushPromise ( Network/Wai/Handler/Warp/HTTP2/PushPromise.hs, dist/build/Network/Wai/Handler/Warp/HTTP2/PushPromise.o, dist/build/Network/Wai/Handler/Warp/HTTP2/PushPromise.dyn_o )
  2. [27 of 34] Compiling Network.Wai.Handler.Warp.Response ( Network/Wai/Handler/Warp/Response.hs, dist/build/Network/Wai/Handler/Warp/Response.o, dist/build/Network/Wai/Handler/Warp/Response.dyn_o )
  3. [28 of 34] Compiling Network.Wai.Handler.Warp.HTTP2.Response ( Network/Wai/Handler/Warp/HTTP2/Response.hs, dist/build/Network/Wai/Handler/Warp/HTTP2/Response.o, dist/build/Network/Wai/Handler/Warp/HTTP2/Response.dyn_o )
  4. [29 of 34] Compiling Network.Wai.Handler.Warp.HTTP2 ( Network/Wai/Handler/Warp/HTTP2.hs, dist/build/Network/Wai/Handler/Warp/HTTP2.o, dist/build/Network/Wai/Handler/Warp/HTTP2.dyn_o )
  5.  
  6. Network/Wai/Handler/Warp/HTTP2.hs:48:16: error:
  7. • Constructor ‘H2.Config’ does not have the required strict field(s):
  8. confMySockAddr :: SockAddr
  9. confPeerSockAddr :: SockAddr
  10. • In the expression:
  11. H2.Config
  12. {confWriteBuffer = bufBuffer writeBuffer,
  13. confBufferSize = bufSize writeBuffer, confSendAll = sendBS,
  14. confReadN = recvN, confPositionReadMaker = pReadMaker ii,
  15. confTimeoutManager = timeoutManager ii}
  16. In an equation for ‘conf’:
  17. conf
  18. = H2.Config
  19. {confWriteBuffer = bufBuffer writeBuffer,
  20. confBufferSize = bufSize writeBuffer, confSendAll = sendBS,
  21. confReadN = recvN, confPositionReadMaker = pReadMaker ii,
  22. confTimeoutManager = timeoutManager ii}
  23. In the expression:
  24. do istatus <- newIORef False
  25. rawRecvN <- makeRecvN bs $ connRecv conn
  26. writeBuffer <- readIORef $ connWriteBuffer conn
  27. let recvN
  28. = wrappedRecvN
  29. th istatus (S.settingsSlowlorisSize settings) rawRecvN
  30. sendBS x = connSendAll conn x >> T.tickle th
  31. ....
  32. ....
  33. |
  34. 48 | conf = H2.Config {
  35. | ^^^^^^^^^^^...
  36. [30 of 34] Compiling Network.Wai.Handler.Warp.HTTP1 ( Network/Wai/Handler/Warp/HTTP1.hs, dist/build/Network/Wai/Handler/Warp/HTTP1.o, dist/build/Network/Wai/Handler/Warp/HTTP1.dyn_o )
  37. cabal: Failed to build warp-3.3.25 (which is required by exe:hoogle from
  38. hoogle-5.0.18.3). See the build log above for details.
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement