Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
3 votes
2 answers
75 views

Using sizeof(pointer) with strncpy

I have this parser, I want to use the size of the pointer (that is 8 bytes) in the function strncpy, I was able do it with the "method" part, why does it crash the "path" part ? It ...
Solrojo's user avatar
  • 43
-3 votes
1 answer
95 views

How to cancel long-running tasks when a Go HTTP server is shut down? [duplicate]

I'm writing an HTTP server in Go that performs long-running tasks (e.g. data processing or computation). When the server shuts down via srv.Shutdown(ctx), I want in-progress handlers to stop, even if ...
Volodya Lombrozo's user avatar
0 votes
1 answer
46 views

problem -> npm http-server dowloading file

I'm new to npm and I tried to start a new simple project. Initially it just had index.html with h1 Hello world. When I try to start a server using http-server ./index.html it works to some extent but ...
Heitor Shoiji Kimura's user avatar
1 vote
1 answer
74 views

Boost Beast (Asio) HttpServer and HttpClient: recommendations on io_context usage

I've recently implemented an async HTTP Server and Client based on C++ Boost Beast (V.1.83). I'm new to the io_context approach and even if it all seems to be working fine I'm not at all convinced of ...
Kite's user avatar
  • 429
0 votes
0 answers
30 views

Apache HttpCore 5.3.3 SSLContext Configuration Issue: Server Timeout with NeedClientAuth

I am encountering an issue with HttpServer from Apache HttpCore after upgrading the library from version 5.2.3 to 5.3. When client authentication (setNeedClientAuth(true)) is enabled and the ...
Jagdish Raika's user avatar
0 votes
0 answers
54 views

HMTL image isn't shown in browser after sending it with the httpExchange responseBody

I'm working on a small com.sun.net.httpserver project where i want to show images a user has uploaded. I already managed to get the image and safe it onto the file system. Now i want to send the image ...
Bessarionis Zockiflocki's user avatar
-1 votes
2 answers
456 views

HTTP/1.1 header parser received no bytes

I get this error all the time tried everything switching JVMs and stuff changing code itself but nothing really works Chat GPT also doesn't help. If someone know what's the dead with this please help. ...
Lem's user avatar
  • 3
0 votes
1 answer
27 views

How to get formdata file from httpserver request in flutter

In my flutter application I've created a http server using dart io. I'm uploading file from web frontend using formdata using fetch api call. On the server side(flutter) how to get uploaded file?
Sivamani V's user avatar
-1 votes
1 answer
42 views

Node http server not serving JS per HTML instructions - Uncaught SyntaxError: Unexpected token '<'

I can GET my html to render, but the console throws a SyntaxError: Uncaught SyntaxError: Unexpected token '<' (at index.js:1:1) The contents of my index.js file are: console.log('javascript loaded')...
emarg's user avatar
  • 1
0 votes
1 answer
92 views

Why does the single quote in my code replace another character?

I am trying to write a HTTP server in C. My code: Supports the connection of a client to a server Allows the server to read the HTTP request sent by the client. Parses the start line of the HTTP ...
Palaash Goel's user avatar
0 votes
0 answers
60 views

GO application, as a windows service, does not generate pdf from html when running chrome headless

Context: Windows Service -> HTTP GO Application -> "Exec" Package -> CMD Command -> Chrome Headless --print-to-pdf Summary: When trying to convert the page "a.html" to &...
RAF's user avatar
  • 33
0 votes
1 answer
722 views

How to build and run a Angular Webapp

I have a problem. I need to build my angular application. I don’t mean just to start it. I mean to build it with ng build (in production) and then to start it to test it. It should be like a first ...
BurritoMan's user avatar
0 votes
1 answer
146 views

TIdHTTPServer hangs when deactivated

First, please refer to a similar but not exactly duplicate question. That question was solved by uninstalling a defective Windows update on Windows server, which is not my case at all (as I'm on ...
Jerry Dodge's user avatar
  • 27.3k
0 votes
0 answers
93 views

ionic run in production mode

I am using angular 8 with ionic (mobile). I have problem when running the application, opened in chrome browser, in production mode, while there is no problem when opening in development mode. I ...
Eitan's user avatar
  • 1,426
0 votes
0 answers
142 views

Python ThreadingHTTPServer is not actually multithreaded

I'm tryin to create a multithreaded HTTP server in Python 3.10 using ThreadingHTTPServer. However, ThreadingHTTPServer doesn't seem to be working multithreadedly - each GET request waits for the ...
Serg's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
87